[Xymon] Escaping special characters in analysis.cfg

David Baldwin david.baldwin at ausport.gov.au
Wed Mar 25 23:07:17 CET 2015


On 25/03/15 7:00 PM, Timothy wrote:
> Hi all,
>
> I'm trying to monitor the Windows Internal Database service. The 
> Service Name is the following:
> MSSQL$MICROSOFT##WID
>
> However, thanks to the ## it shows all the characters that follow as 
> comment so I added this line with regex to my analysis.cfg
> SVC ^MSSQL\$MICROSOFT##WID status=started
>
> This gives following (wrong) output on my webpage:
> ^MSSQL\$MICROSOFT: No matching service - want started/Any
>
> Is there a way I can monitor this particular service?

I have the following working fine:

         SVC "MSSQL$MICROSOFT##WID" startup=automatic status=started

David.

-- 
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission          http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au          1 Leverrier Street Bruce ACT 2617
Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE


-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------



More information about the Xymon mailing list