Monitoring Routers and Switches

xmanhosting anthony at xmanhosting.com.au
Sat Oct 24 02:18:02 CEST 2009


Hello,
 
I am attemping to set up: Monitoring Routers and Switches (nagios-3.pdf,
page 33)
 
It says:
 
"The check_snmp plugin will only get compiled and installed if you have the
net-snmp and net-snmp-utils
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins."
 
check_snmp was not in my /usr/local/nagios/libexec folder, so I ran yum
install for 3 snmp files - that went fine.
 
I followed the rest of the instructions, verified my configuration (no
errors) and restarted Nagios.
 
Now in my web gui, it says:
 
PING OK  10-24-2009 08:08:13  0d 11h 3m 50s  1/3  PING OK - Packet loss =
0%, RTA = 1.01 ms 
Port 1 Bandwidth Usage UNKNOWN  10-24-2009 08:03:43  0d 11h 2m 20s  3/3
check_mrtgtraf: Unable to open MRTG log file 
Port 1 Link Status CRITICAL  10-24-2009 08:05:13  0d 11h 0m 50s  3/3
(Return code of 127 is out of bounds - plugin may be missing) 
Uptime CRITICAL  10-24-2009 08:06:43  0d 10h 59m 20s  3/3  (Return code of
127 is out of bounds - plugin may be missing) 
 
My questions are:
 
1. For the rror message: check_mrtgtraf: Unable to open MRTG log file -
Where should the MRTG log file be (using Centos5) ?
The objects/switch.cfg file says:
check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5
000000,5000000!10 however there is no such folder at var/lib/mrtg/
 
2. I have read somewhere that for the "Port1 Link" and "Uptime" error, that
I maybe be missing files. I notice that there is still no check_snmp plugin
in the usr/local/nagios/libexec folder - is this the issue, and how do I get
it there?
 
Thanks for any help - I really appreciate it.
 
Kind regards,
Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091024/98dd58df/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list