View Single Post
  #15  
Old 21st November 2012, 00:01
ilyar ilyar is offline
Junior Member
 
Join Date: Nov 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default still having trouble

Hello All!

I need some help. I followed gads instructions and still receiving the error: check_mrtgtraf: Unable to open MRTG log file

I don't understand what is going on at this point. Please help. I checked the following:

The html file works
http://10.0.1.85/mymrtg/10.0.1.1_2.html

The switch.cfg is configured
define service{
use generic-service ; Inherit values from a template
host_name Router_San_Rafael
service_description Port 2 Bandwidth Usage
check_command check_local_mrtgtraf!/var/www/html/mymrtg/10.0.1.1_2.log!AVG!1000000,1000000!5000000,5000000 !10
}

The commands.cfg is configured
# 'check_local_mrtgtraf' command definition
define command{
command_name check_local_mrtgtraf
command_line $USER1$/check_mrtgtraf -F $LOGFILE$ -a $ARG1$ -w $ARG3$ -c $ARG4$ -e $ARG5$
}
Reply With Quote