check_mrtgtraf

Todd Richmond trichmon at eou.edu
Thu May 12 08:05:53 CEST 2005


I have check_mrtgtraf checking the right log file and throwing warnings 
and critical errors when it should but for some strange reason when 
everything is running fine the pluging returns a status of unknown.  I 
dont see in the plugin --help where i have to set an "ok" value.

here are the configs:

pluging config

# 'traffic_average' command definition
define command{
        command_name    traffic_average
        command_line    /usr/lib/nagios/plugins/check_mrtgtraf $ARG1$ 10 
AVG -w $ARG2$ -c $ARG3$ $ARG4$ $ARG5$
        }


services.cfg

 check_command                 
traffic_average!/var/www/lnm/mrtg/140.211.60.1.1.log!1000000,512000!1100000,612500


Todd Richmond




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
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