<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><SPAN class=578080600-24102009><FONT size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2>I am attemping to set up:
Monitoring Routers and Switches (nagios-3.pdf, page 33)</FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2>It says:</FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2>"The check_snmp plugin will
only get compiled and installed if you have the net-snmp and
net-snmp-utils<BR>packages installed on your system. Make sure the plugin exists
in /usr/local/nagios/libexec before you<BR>continue. If it doesn’t, install
net-snmp and net-snmp-utils and recompile/reinstall the Nagios
plugins."</FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2>check_snmp was not in my
/usr/local/nagios/libexec folder, so I ran yum install for 3 snmp files - that
went fine.</FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2>I followed the rest of the
instructions, verified my configuration (no errors) and restarted
Nagios.</FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2>Now in my web gui, it
says:</FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2><STRONG>PING OK
10-24-2009 08:08:13 0d 11h 3m 50s 1/3 PING OK - Packet
loss = 0%, RTA = 1.01 ms <BR>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 <BR>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) <BR>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)</STRONG> </FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><STRONG><FONT
size=2></FONT></STRONG></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2>My questions
are:</FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2>1. For the rror message:
<STRONG>check_mrtgtraf: Unable to open MRTG log file</STRONG> - Where should the
MRTG log file be (using Centos5) ?</FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2>The objects/switch.cfg file
says: <SPAN
lang=EN-AU>check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5000000,5000000!10
however there is no such folder at var/lib/mrtg/</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2><SPAN
lang=EN-AU></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2><SPAN lang=EN-AU>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?</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2><SPAN
lang=EN-AU></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2><SPAN lang=EN-AU>Thanks for any
help - I really appreciate it.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2><SPAN
lang=EN-AU></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2><SPAN lang=EN-AU>Kind
regards,</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=578080600-24102009><FONT size=2><SPAN
lang=EN-AU>Anthony</SPAN></FONT></SPAN></DIV></BODY></HTML>