[Nagios-users] Escape \ in nagios config files?

2009-04-06 Thread Janet Sullivan
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

Re: [Nagios-users] Escape \ in nagios config files?

2009-04-06 Thread Janet Sullivan
PM To: 'nagios-users@lists.sourceforge.net' Subject: Escape \ in nagios config files? 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

Re: [Nagios-users] Escape \ in nagios config files?

2009-04-06 Thread Marc Powell
On Apr 6, 2009, at 4:02 PM, Janet Sullivan wrote: Of course, right after I sent that, I found a solution. It seems I can use 3 \s to escape a \. My path in the service definition becomes: localhost_definst_mp3mn_mp3_08_07streams ...and it works. Is there a

Re: [Nagios-users] Escape \ in nagios config files?

2009-04-06 Thread Kevin Keane
in the error message. I haven't found any mention of that sequence on google. :-/ -Original Message- From: Janet Sullivan Sent: Monday, April 06, 2009 1:56 PM To: 'nagios-users@lists.sourceforge.net' Subject: Escape \ in nagios config files? I want to check the disk space of a UNC path