try double \\ ?
Scot Kreienkamp
Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: 734-384-6403 | | Mobile: 7349151444 | Email: Scot.Kreienkamp at la-z-boy.com
On Aug 8, 2016, at 8:04 PM, Jonathan Trott <jtrott at dancrai.com> wrote:
Hi all.
I have a windows service "MSSQL$MICROSOFT##WID" that is being reported by the XymonPSClient. To monitor this service I need to add the following line in my analysis.cfg file:
SVC MSSQL$MICROSOFT##WID status=started
But, the # characters are seen as the start of a comment, so the result is this:
MSSQL$MICROSOFT: No matching service - want started/Any
I tried escaping the # characters with \ but that just resulted in:
MSSQL$MICROSOFT\: No matching service - want started/Any
Any ideas?
Thanks, JT
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.