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

2009-04-06 Thread Janet Sullivan
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 list of all the ways to escape special characters in

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
Actually, this is not just in Nagios; this is standard Unix escaping. And it's not really 3 \. Rather, what is going on is that standard Unix escaping is applied twice - first when parsing the config file, and again when passing the arguments to the plugin. In Unix, normally when you put a \