Monitoring Routers and Switches
Marc Powell
marc at ena.com
Sat Oct 24 06:12:07 CEST 2009
On Oct 23, 2009, at 7:18 PM, xmanhosting wrote:
> 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!5000000,5000000!10 however
> there is no such folder at var/lib/mrtg/
MRTG is a program that's completely independent of Nagios (like Apache
or BIND). If you haven't installed, configured and run it, you won't
be able to use the mrtg based plugins. If you have, you'll need to
look at your MRTG installation to determine where the MRTG log files
are located.
> 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
Yes, almost certainly. 127 means that the plugin specified in the
command{} definition doesn't exist. As for how to fix it, you quoted
that yourself --
"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."
If you've installed those two packages, you'll need to recompile and
re-install the plugins (./configure, make... etc)
--
Marc
------------------------------------------------------------------------------
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
_______________________________________________
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