Timeout: No Response from localhost

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
fretagi
Posts: 14
Joined: Thu Apr 26, 2012 1:47 am

Timeout: No Response from localhost

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Timeout: No Response from localhost

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
fretagi
Posts: 14
Joined: Thu Apr 26, 2012 1:47 am

Re: Timeout: No Response from localhost

Post by fretagi »

the link you provided is for nagios XI, I am using nagios core
User avatar
rhassing
Posts: 412
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Timeout: No Response from localhost

Post by rhassing »

The document provided is also applicable for Nagios Core
Rob Hassing
Image
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Timeout: No Response from localhost

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked