You're more likely to get a good response by emailing the entire list
than you are by emailing me directly...
A. Davis
Mike Saldivar wrote:
Hi there,
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.
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.
On the Nagios box, I copied up the switch.cfg, changed the IP address
and hostname, etc, following the instructions:
http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html
Restarting, I see these errors such as this. Posting the error, then
the corresponding portion of the switch.cfg:
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)
---
define service{
use generic-service ; Inherit values from
a template
host_name CCLogan-ASA5510-1
service_description Inside Interface
check_command check_snmp!-C public -o
ifOperStatus.INSIDE -r 1 -m RFC1213-MIB
}
---
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...
The other error I see is:
---
Port 1 Bandwidth UNKNOWN 05-07-2009 17:02:24 0d 2h 38m 14s
3/3 check_mrtgtraf: Unable to open MRTG log file
---
define service{
use generic-service ; Inherit values from
a template
host_name CCLogan-ASA5510-1
service_description Port 1 Bandwidth
check_command
check_local_mrtgtraf!/var/lib/mrtg/10.5.1.2_1.log!AVG!1000000,1000000!5000000,5000000!10
}
---
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?
Should I check into check_cisco.pl, or does that work better for the
huge switches than the itty-bitty 4-porters?
Thanks a heap,
-Mike
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagios-users mailing list
[email protected]
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