Unix host - Hardware Monitoring through SNMP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Beena_Jogin
Posts: 54
Joined: Fri Jan 22, 2016 4:58 am

Unix host - Hardware Monitoring through SNMP

Post by Beena_Jogin »

Hi,

We are trying to monitor a unix host for hardware monitoring through Nagios.

I am getting the error SNMP Critical: No response from remote host.

This is with all the hosts. SNMP service running fine. Not sure y I get this error.

Thanks,
Beena
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Unix host - Hardware Monitoring through SNMP

Post by hsmith »

Can your communicate with the remote host on port 161?
Former Nagios Employee.
me.
Beena_Jogin
Posts: 54
Joined: Fri Jan 22, 2016 4:58 am

Re: Unix host - Hardware Monitoring through SNMP

Post by Beena_Jogin »

Yes port 161 is open in remote host and no firewall restrictions.

The source is Nagios Management server. DO I need to check anything here?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unix host - Hardware Monitoring through SNMP

Post by lmiltchev »

Let's check what snmp packages you have installed on the remote box. Run the following command, and show us the output:

Code: Select all

yum list installed | grep snmp
Is snmpd running?

Code: Select all

service snmpd status
To rule out a wrongly configured snmpd.conf, do the following simple test.

1. Make a backup of your original snmpd.conf file:

Code: Select all

cd /etc/snmp
cp -p snmpd.conf snmpd.conf.orig
2. Open the snmpd.conf in a text editor, clear everything, and add one line only:

Code: Select all

rocommunity public x.x.x.x
where x.x.x.x is the Nagios XI server IP address.

3. Restart snmpd:

Code: Select all

service snmpd restart
4. Try snmpwalk from Nagios XI server:

Code: Select all

snmpwalk -v 2c -c public <client ip>
Was the walk successful?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Beena_Jogin
Posts: 54
Joined: Fri Jan 22, 2016 4:58 am

Re: Unix host - Hardware Monitoring through SNMP

Post by Beena_Jogin »

yes its working now. Successfully configured the hardware monitoring for Unix host.

I was missing the community string. Thanks for your help. :)

Regards,
Beena
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Unix host - Hardware Monitoring through SNMP

Post by bwallace »

Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked