Hi,
Happy to join the forum!
I have a problem with Nagios XI while trying to monitor a 3rd party windows service.
The problem (by my opinion) is that in the name of the service there is "!". When I add service arg: "Test"!" service" and when I save it, I get back and the service is name is separated on two lines and it looks like this:
Test
service
The error in Nagios is: (No output on stdout) stderr: /bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
Is there a way to pass "!" or maybe the problem is other?
Thank you in advance!
Pass "!" in a service argument
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Pass "!" in a service argument
Yes ! is a special char in nagios, here is an article about dealing with it
https://support.nagios.com/kb/article.php?id=580
https://support.nagios.com/kb/article.php?id=580