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
Unix host - Hardware Monitoring through SNMP
-
Beena_Jogin
- Posts: 54
- Joined: Fri Jan 22, 2016 4:58 am
Re: Unix host - Hardware Monitoring through SNMP
Can your communicate with the remote host on port 161?
Former Nagios Employee.
me.
me.
-
Beena_Jogin
- Posts: 54
- Joined: Fri Jan 22, 2016 4:58 am
Re: Unix host - Hardware Monitoring through SNMP
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?
The source is Nagios Management server. DO I need to check anything here?
Re: Unix host - Hardware Monitoring through SNMP
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:
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:
Was the walk successful?
Code: Select all
yum list installed | grep snmpCode: Select all
service snmpd status1. Make a backup of your original snmpd.conf file:
Code: Select all
cd /etc/snmp
cp -p snmpd.conf snmpd.conf.origCode: Select all
rocommunity public x.x.x.x3. Restart snmpd:
Code: Select all
service snmpd restartCode: Select all
snmpwalk -v 2c -c public <client ip>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
yes its working now. Successfully configured the hardware monitoring for Unix host.
I was missing the community string. Thanks for your help.
Regards,
Beena
I was missing the community string. Thanks for your help.
Regards,
Beena
Re: Unix host - Hardware Monitoring through SNMP
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!