<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi !
<br>I am trying to use the command check_mrtgtraf in my nagios management
system. I need some help to configure the
<br>*.cfg files. My configurations file are bellow.
<p><b>checkcommands.cfg file</b>
<p># 'check_mrtg_traf' command definition
<br>define command{
<br>        command_name   
check_mrtg_traf
<br>        command_line   
$USER1$/check_mrtgtraf -F $LOGFILE$ -a $ARG1$ -w $ARG3$,$ARG4$ -c $ARG5$,$ARG6$
<br>        }
<p><b>services.cfg</b>
<p># Service definition
<br>define service{
<br>        use                            
generic-service         ; Name
of service template to use
<p>        host_name                      
prodabel-goias
<br>        service_description         
TRAFEGO
<br>        is_volatile                        
0
<br>        check_period                   
24x7
<br>        max_check_attempts        
3
<br>        normal_check_interval      
1
<br>        retry_check_interval        
1
<br>        contact_groups                 
circuito-admins
<br>        notification_interval          
240
<br>        notification_period            
24x7
<br>        notification_options           
c,r
<br>        check_command              
check_mrtg_traf!10.0.24.1_7.log!MAX!200,210!225,230
<br> 
<p>The mrtg log file is /home/httpd/html/mrtg/10.0.24.1_7.log.
<p>The message that I get is <b>Unable to open MRTG log file</b>
<p>Thanks !
<p>Best regards !
<p>Itamar.</html>