[Nagiosplug-help] check_nrpe idea

Cook, Garry GWCOOK at mactec.com
Wed Apr 28 14:06:01 CEST 2004


> The problem I find is when check_nrpe tries to forward the
> request with
> -a arguments that contain spaces like so...
> 
> services.cfg
> define service {
>   ...
>   check_command
> indirect_check_nrpe!<ip_of_first_machine>!check_nrpe!service_nrpe_nt
> "Event Log" }
> 
> Debugging on the client side shows that the only thing the client nrpe
> gets is "Event" in stead of "Event Log". I've even tried adding
> additional double quotes, escaped quotes, etc with no luck.
> 
Have you tried to backslash escape the space like this:
Event\ Log
Or perhaps with the quotes:
"Event\ Log"

> Granted, there may be a better way to handle this altogether
> but this is
> the simplest form I could come up with. This is why I think having a
> configurable -a command separator may help.
> 
> Arnold

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 (Office) - 720.220.1862 (Mobile)




More information about the Help mailing list