Page 1 of 3
Monitoring with SNMP
Posted: Mon Jul 25, 2016 9:40 am
by ednaldojta
Good morning friends,
once again I'm here asking for the help of you!
Friends, I need to monitor some machines with SNMP, how can I do this?
Re: Monitoring with SNMP
Posted: Mon Jul 25, 2016 12:10 pm
by mcapra
Are the included SNMP wizards for Nagios XI able to do what you need?
Re: Monitoring with SNMP
Posted: Mon Jul 25, 2016 12:22 pm
by ednaldojta
I saw these workers, however I need to know if I have to set something in /etc/snmp/snmpd.conf file.
The following image attached my snmpd.conf file
Re: Monitoring with SNMP
Posted: Mon Jul 25, 2016 3:48 pm
by tmcdonald
snmpd is used for responding to SNMP requests, and is not needed by any of our agents in order to actually make them. If you use the SNMP Walk wizard for example, it will query the remote machine for all available SNMP information it has access to according to the community string.
Re: Monitoring with SNMP
Posted: Mon Jul 25, 2016 3:50 pm
by tgriep
From what you posted, it looks like a standard snmpd.conf file.
If the remote system is a Linux server, you can run the Linux SNMP wizard against that host using public as the community string and you should get some results from it.
That is if the snmp daemon is running on that host.
Re: Monitoring with SNMP
Posted: Fri Jul 29, 2016 7:13 am
by ednaldojta
I can perform the test starting the remote machine to Nagios, but Nagios for the remote machine informs that does not have permission snmpwalk.
What would be the problem?
The following configuration screens.
Re: Monitoring with SNMP
Posted: Fri Jul 29, 2016 11:38 am
by tgriep
From the output in your post, it looks like either the remote server isn't running SNMP, or that the server's firewall is blocking the XI server.
Check the remote server and see if that is true.
What is the remote system?
Re: Monitoring with SNMP
Posted: Fri Jul 29, 2016 1:35 pm
by ednaldojta
My server is not able to access my remote machine, however, when the command of my machine to be monitored for Nagios, I get response from the MIBs.
Command: snmpwalk -c public -v2c 10.10.60.51 ----- IP my Nagios ..
And yes SNMP is running on both servers, and the iptables the two are disabled.
Re: Monitoring with SNMP
Posted: Fri Jul 29, 2016 1:43 pm
by tgriep
Can you run the following command on the Nagios XI server and post the output? Replace xxx.xxx.xxx.xxx with the IP address of the remote host you want to monitor.
Then login to the remote server, run the following and post that as well.
Code: Select all
netstat -an |grep 161
ps -ef |grep snmp
Re: Monitoring with SNMP
Posted: Mon Aug 01, 2016 7:17 am
by ednaldojta
Follows as requested.