"OUTPUT: Traffic OK - Avg. In = 21.0 B/s, Avg. Out = 450.0 B/s|in=21.000000B/s;1000000.000000;5000000.000000;0.000000 out=450.000000B/s;1000000.000000;5000000.000000;0.000000".
I get the same result through the command line on my server. However, when I applied the service to Nagios XI, it just errors out, "check_mrtgtraf: Unable to open MRTG log file". I've included my service config below. I've followed several other forum posts with a similar issues, but have yet to have any success. Any help is greatly appreciated, as always.
Code: Select all
define service {
host_name I53US - Gateway
service_description I53US - Bandwidth
check_command check_mrtgraf!/var/www/mrtg/10.x.x.x_x.log!AVG!1000000,1000000!5000000,5000000!10!!!
max_check_attempts 2
retry_interval 1
notification_interval 480
first_notification_delay 15
contact_groups WATC Tech
register 1
}