output check_mrtg / check_mrtgtraf

Andreas Ericsson ae at op5.se
Fri Nov 19 09:42:32 CET 2004


gottfried hufnagel wrote:
> dear list!
> 
> i tried to implement the check_mrtg/mrtgraf-plugins. but i'm curious about the 
> ouputs. there is no return-code:
> 

echo $? immediately after running the plugin to get the return code. The 
string output is just some arbitrary text that doesn't affect nagios 
internals in any way.

> ./check_mrtg -F file.log -a MAX -v 1 -w 100 -c 200
> ->Max.  = 151013
> 
> ./check_mrtgtraf -F file.log -a MAX -w "100,120" -c "200,220"
> -> *nothing*
> 
> am i using them in the wrong way?
> 

check_mrtg --help should tell you how to use them. Those double quotes 
are quite unnecessary though.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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