Linux – monitoring switches with Nagios

linuxmonitoringnagiosnetworkingswitch

I'm trying to monitoring switch with Nagios. I had made everything like in this tutorial, but I'm getting Status Information in Nagios browser window like this:

(Return code of 127 is out of bounds - plugin may be missing) 

So I had checked the google and found that I need to install check_snmp plugin.
So how can I do it?

Best Answer

That error message is very misleading, as you will get it for a number of issues that have nothing to do with a missing plug-in. Most commonly you will receive it if Nagios cannot communicate with the target. Start by checking that the Nagios server has permission to read SNMP data from the switch.