[mrtg] .log file problems
    Steve Shipway 
    s.shipway at auckland.ac.nz
       
    Sat Jun 27 02:00:08 CEST 2009
    
    
  
This is more a Nagios problem, really.
In your nagios checkcommands.cfg, where you define the check_local_mrtgtraf command, make sure that you put quotes around $ARG1$ and then this will work.  In general, you should ALWAYS quote the $ARGn$ parameters in Nagios definitions else you could cause all sort of problems.
Steve
________________________________________
From: mrtg-bounces at lists.oetiker.ch [mrtg-bounces at lists.oetiker.ch] On Behalf Of gbaertschi [gbaertschi at gmx.ch]
...
I have a problem with ".log" files which have brackets in the filename, as
example:
define service{
        use                     generic-service ; Inherit values from a
template
        host_name              Name of the host
        service_description     Port 05 Slot 1 Bandwidth Usage
        check_command
check_local_mrtgtraf!/var/www/mrtg/10.11.0.1_ifc5_(slot_1_port_5)!AVG!1000000,1000000!5000000,5000000!10
        }
    
    
More information about the mrtg
mailing list