Scot Kreienkamp <Scot.Kreienkamp at la-z-boy.com> wrote on 09/08/2016 10:34:48:
try double \\ ?
Scot Kreienkamp
Nope, results in this:
MSSQL$MICROSOFT\\: No matching service - want started/Any
Thanks, JT
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