[Xymon] check for Windows service NOT installed?

David Baldwin david.baldwin at ausport.gov.au
Mon Jan 7 03:50:15 CET 2013


We are in the process of migrating between management tools here, and I
was wondering if there is a way of configuring analysis.cfg to check
that a Windows service is not installed. This would allow me to check
that machines with the old tool installed do not have the new one, and
vice versa.

I tried checking for stopped, but that fails because it's Not Found.

I'm hoping to set up something similar to below

# running old AV but not new AV
CLASS=win32 HOST=%^(host1|host2)\.
        SVC "InoTask" startup=automatic status=started
        SVC "MsMpSvc" startup=%.* status=stopped COLOR=yellow

# running new AV but not old AV
CLASS=win32 EXHOST=%^(host1|host2)\.
        SVC "InoTask" startup=%.* status=stopped COLOR=yellow
        SVC "MsMpSvc" startup=automatic status=started

If the functionality doesn't exist at present, I'll submit it as a
feature request.

If all else fails, I can monitor the client channel and roll my own
check in perl against the [svcs] section.

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          Leverrier Street Bruce ACT 2617


-------------------------------------------------------------------------------------
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