[Xymon] Service names from XymonPSClient

Jonathan Trott jtrott at dancrai.com
Tue Aug 9 02:57:38 CEST 2016


> From: Adam Goryachev <mailinglists at websitemanagers.com.au>
> To: xymon at xymon.com
> Date: 09/08/2016 10:17
> Subject: Re: [Xymon] Service names from XymonPSClient
> Sent by: "Xymon" <xymon-bounces at xymon.com>
> 
> On 09/08/16 10:04, Jonathan Trott 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?
> >
> Can you use a regex?
> %^MSSQL.MICROSOFT..WID$
> 
> You might be able to insert the actual needed chars with the escape \ 
> but I expect the above should work also...

Escaping the characters doesn't work, but regex works.
Thanks for the fix!

> Regards,
> Adam

Thanks,
JT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 8172 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160809/f6552ac3/attachment.bin>


More information about the Xymon mailing list