check_mrtg always returns unknown (#3)?
Fernando Lima
flima at slb.com
Fri Apr 28 16:44:52 CEST 2006
Scott,
Had anyone replied your e-mail!? I had a simillar issue, and would be great
to get these informations...
Cheers,
Fernando Lima
Schlumberger
Security Engineer
flima at slb.com
Office: +55 21 3824 6954
Mobile. : +55 21 9888 9046
(GMT: -03:00)
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Baker
Sent: Tuesday, April 25, 2006 1:11 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_mrtg always returns unknown (#3)?
I'm trying to make sure that my MRTG program is running, and updating data.
I think I want to use the check_mrtg function to do that. I'm *only*
interested in whether the MRTG is running. Here's the syntax I'm using.
./check_mrtg -F /path/cpu.log -a MAX -v 1 -w 100 -c 200 -e 10 -l "CPU Usage"
-u %
Output: Max. CPU Usage = 42 %|'CPU Usage'=42%;100;200;
I'm monitoring CPU usage on our router. If it goes above 100% page me.
Again, I don't care about the CPU usage, I only want to know about that -e
10 (if the MRTG data is more than 10 minutes old). When I run the above
command it always exits with a 3 which is Unknown in Nagios.
It reads the data from MRTG just fine, it's just that no matter WHAT I do,
or what syntax I try it always exits 3 unknown. Is my syntax wrong on that
check?
Scott
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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