I am getting wierd results from my check_mrtgtraf plugin, or more likely I am not understanding the command.
Here is the check for a particular network device:
Quote:
define service{
use generic-service ; Name of service template to use
host_name HP5300
service_description MRTG Traffic Link
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
notification_interval 240
notification_period 24x7
notification_options w,c,r
check_command check_mrtgtraf!/var/www/html/mrtg/10.10.1.2_a1.old!350,350!384,384!15
}
|
Here is the Nagios results:
Quote:
Status Information:
Traffic CRITICAL - Avg. In = 25.6 KB/s, Avg. Out = 61.4 KB/s
|
Quote:
Performance Data:
in=25.600586KB/s;350.000000;384.000000;0.000000 in=61.370117KB/s;350.000000;384.000000;0.000000
|
I would like to set the threshold to 350kbs and 384kbs respectively. What am I doing wrong??
Thanks!