Xymon Mailing List Archive search

Service names from XymonPSClient

list Jonathan Trott
Tue, 9 Aug 2016 10:48:31 +1000
Message-Id: <user-e60dea10f0e7@xymon.invalid>

Scot Kreienkamp <user-9678697f1438@xymon.invalid> 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 <user-18b223f08ecd@xymon.invalid> 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