<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000099">
You're more likely to get a good response by emailing the entire list
than you are by emailing me directly...<br>
<pre class="moz-signature" cols="72">
A. Davis
</pre>
Mike Saldivar wrote:
<blockquote
cite="mid:61ab46280905071615x6ae653dara4adfecdf0476977@mail.gmail.com"
type="cite">Hi there,<br>
<br>
I have a new installation of Nagios, Version 3.0.6, running on Ubuntu
8.10. I followed the Quick Start guide for Ubuntu, and everything went
swimmingly, installing Nagios, the Plug-ins, Apache, et al. Nagios
started up and monitored itself, and following the quick-starts for
Linux and Windows, I've been able to get it to monitor all my hosts.<br>
<br>
So I'm now trying to get it to monitor a Cisco ASA 5510 VPN. On the
ASA, I enabled SNMP, and pointed it to the Nagios machine for reporting.<br>
<br>
On the Nagios box, I copied up the switch.cfg, changed the IP address
and hostname, etc, following the instructions:<br>
<a moz-do-not-send="true"
href="http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html">http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html</a><br>
<br>
Restarting, I see these errors such as this. Posting the error, then
the corresponding portion of the switch.cfg:<br>
<br>
Inside Interface CRITICAL 05-07-2009 16:54:07 0d 2h 53m 31s
3/3 (Return code of 127 is out of bounds - plugin may be
missing) <br>
<br>
---<br>
define service{<br>
use generic-service ; Inherit values from a
template<br>
host_name CCLogan-ASA5510-1<br>
service_description Inside Interface<br>
check_command check_snmp!-C public -o
ifOperStatus.INSIDE -r 1 -m RFC1213-MIB<br>
}<br>
---<br>
<br>
I changed ifOperStatus.INSIDE from ifOperStatus.1 because an snmpwalk
on the device said that's what this port name was, but I can change it
back. But googling the error (Return code of 127 ...) seems to
indicate I'm missing net-snmp or net-snmp-util, but I'm not sure how to
install them -- can't do a rpm -qa on Ubuntu, and I don't know what the
corresponding command is with apt-get. But searching the Ubuntu
repositories, I can' find an equivalent to net-snmp-util, so I think
that's the problem. Snmpwalk works though, so I figure I have
something half-working...<br>
<br>
<br>
The other error I see is:<br>
<br>
---<br>
Port 1 Bandwidth UNKNOWN 05-07-2009 17:02:24 0d 2h 38m 14s
3/3 check_mrtgtraf: Unable to open MRTG log file <br>
<br>
---<br>
define service{<br>
use generic-service ; Inherit values from a
template<br>
host_name CCLogan-ASA5510-1<br>
service_description Port 1 Bandwidth<br>
check_command
check_local_mrtgtraf!/var/lib/mrtg/10.5.1.2_1.log!AVG!1000000,1000000!5000000,5000000!10<br>
}<br>
---<br>
<br>
I looked, and /var/lib/mrtg/ didn't exist. Googling, I saw a tip to
change it to /var/www/mrtg/, but that directory didn't exist either. I
created /var/lib/mrtg/ and chown'd it to nagios:nagios and restarted
Nagios, but still nothing. Is there a mrtg config file I need to edit?<br>
<br>
Should I check into check_cisco.pl, or does that work better for the
huge switches than the itty-bitty 4-porters?<br>
<br>
Thanks a heap,<br>
-Mike<br>
</blockquote>
</body>
</html>