Page 1 of 1
Unix host - Hardware Monitoring through SNMP
Posted: Mon Feb 22, 2016 5:30 am
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
Re: Unix host - Hardware Monitoring through SNMP
Posted: Mon Feb 22, 2016 10:53 am
by hsmith
Can your communicate with the remote host on port 161?
Re: Unix host - Hardware Monitoring through SNMP
Posted: Tue Feb 23, 2016 5:57 am
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?
Re: Unix host - Hardware Monitoring through SNMP
Posted: Tue Feb 23, 2016 10:38 am
by lmiltchev
Let's check what snmp packages you have installed on the remote box. Run the following command, and show us the output:
Is snmpd running?
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:
where x.x.x.x is the Nagios XI server IP address.
3. Restart snmpd:
4. Try snmpwalk from Nagios XI server:
Code: Select all
snmpwalk -v 2c -c public <client ip>
Was the walk successful?
Re: Unix host - Hardware Monitoring through SNMP
Posted: Fri Feb 26, 2016 7:57 am
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
Re: Unix host - Hardware Monitoring through SNMP
Posted: Fri Feb 26, 2016 10:44 am
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.