This post is more than 5 years old
22 Posts
0
142148
May 1st, 2012 14:00
Service down monitoring on windows virtual machines
Hi folks,
We have recently purchased VFoglight and also NMS.how (with what I've purchased) do I monitor the state of windows services? - i.e. can I monitor specific (or all automatic) services and alert of they change to stopped? Is this doen via the infra cartridge as this would be easier than having to alos apply an NMS agent to each server.
Any advice appreciated!
Thanks in advance.
No Events found!



DELL-Darren Ma
3 Posts
1
May 2nd, 2012 13:00
hi Davie,
If you check this out - http://edocs.quest.com/foglight/563/doc/Cartridge/InfrastructureCartridge/UsingTheCartridge.02.4.php
you will see the different agent properties (accessible from Administration -> Agent Status). Click your WindowsAgent agents in the list and Edit Properties.
The pulldown for "Collect Service Metrics" has some options for all, none or specified.
The rule "HostServiceRestart", generates an email if a monitored service is stopped and an agent is configured to restart it. It is disabled by default.
The rule "HostServices" generates an alarm and sends an email if a host service changes its state. If it changes from running to anything else, it generates a warning alert.
Hope that helps,
-Darren
DELL-Darren Ma
3 Posts
0
May 1st, 2012 16:00
Hi Davie,
Yes, the Infrastructure cartridge and it's Windows agent is the answer here. If you want up/down monitoring of specific services, it is the way to go.
Regards,
Darren
newguy111
22 Posts
0
May 2nd, 2012 06:00
Thanks Darren...so, just to confirm, I can use the rule called host services within the infrastructure cartridge to check whether services are up/down? IF so, do I need to quantify each one service by service? Can you use a seperator to list multiple services? Can you set it to only monitor services which are set to automatic by default? Thanks again - Davie
newguy111
22 Posts
0
May 3rd, 2012 05:00
Darren - superb..many thanks for all your input.
Cheers
Davie
newguy111
22 Posts
0
August 14th, 2012 12:00
Ok, so what if for example I am monitoring a Blackberry server and the server team should get an alert if a standard windows service goes down and the exchange mail team should get an alert if a BES service goes down... how do I get around that scenario?
Also, if some of the BES services going down were a critical alert whilst others were only warnings (i.e. no engineers need called at night), how would I also facto that in? Sorry, but these are questions I will be asked at a customer demo next week
Cheers
Davie
john_s_main
132 Posts
0
August 14th, 2012 16:00
You can write the rule to monitor the HostServices, including some code to change destination e-mails based on which service triggered the event.
You can write the rules with different criticality levels, and do different things based on different criteria in each level.
I believe you can also use schedules attached to registry variables, for example, to change what value (e-mail address, for example) is used based on what time of day/day of week, etc. the event occurred in.