Page 1 of 1

Timeout: No Response from localhost

Posted: Fri Dec 01, 2017 5:19 am
by fretagi
Hi

I have now managed to successfully install nagios core 4.0.8 on my server, I even managed to loggin in the web based console.
But I am now trying to add a client, I am having connectivity issues, I cannot run snmpwalk succssfully:

Code: Select all

[root@localhost libexec]# snmpwalk localhost -v 1 -c public
Timeout: No Response from localhost
[root@localhost libexec]#
I can ping the server, but I cannot snmp walk the client:

Code: Select all

[root@localhost libexec]# /usr/bin/snmpget -c Str0ngC0mmunity -t 5 -v 1 192.168.6.29:161 .1.3.6.1.2.1.2.2.1.8.2
Timeout: No Response from 192.168.6.29:161.
[root@localhost libexec]#
Please can you help

Re: Timeout: No Response from localhost

Posted: Fri Dec 01, 2017 1:22 pm
by npolovenko
Hello, @fretagi . Did you actually configure SNMP on the local host? Is the snmp daemon running?

Code: Select all

service snmpd status
What tutorial did you use to configure snmp on the localhost?

Also, check out this SNMP tutorial that we have:
https://assets.nagios.com/downloads/nag ... g_SNMP.pdf

Re: Timeout: No Response from localhost

Posted: Thu Dec 14, 2017 3:58 am
by fretagi
the link you provided is for nagios XI, I am using nagios core

Re: Timeout: No Response from localhost

Posted: Thu Dec 14, 2017 4:10 am
by rhassing
The document provided is also applicable for Nagios Core

Re: Timeout: No Response from localhost

Posted: Fri Dec 15, 2017 1:45 pm
by npolovenko
Thanks, @rhassing!
@fretagi, If you want to use SNMP v1 please make sure that you added this line in /etc/snmp/snmpd.conf file:

Code: Select all

group   notConfigGroup v1           notConfigUser
Otherwise, you could use the tutorial I provided on pages 2,3 and beginning of page 4 to set up snmp v2. Then you'd need to use -v 2 in your command instead of -v 1.