Escape \ in nagios config files?
Janet Sullivan
jsullivan at mndigital.com
Mon Apr 6 22:56:07 CEST 2009
I want to check the disk space of a UNC path -
\\localhost\_definst_\mp3\mn_mp3_08_07\streams
>From the command line, I can check it fine (using check_nrpe2) if I
escape each \ like this:
\\\\localhost\\_definst_\\mp3\\mn_mp3_08_07\\streams
But when I try to use configure Nagios to check it, it strips out all
the \ characters. I've tried single quotes, double quotes, and escaping
each \ - no luck. How can I tell Nagios about this path in a service
definition without it stripping out the special characters? Is there an
escape method I'm missing?
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list