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: [email protected] [[email protected]] On Behalf 
Of gbaertschi [[email protected]]
...
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
        }

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to