KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Test if service is paused

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Raimay



Joined: 12 May 2003
Posts: 4

PostPosted: Fri Nov 11, 2011 1:55 am    Post subject: Test if service is paused Reply with quote

I want to check if a windows service has the status paused.
How can i make a check if e.g. service netlogon is not stopped only paused?
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2252

PostPosted: Fri Nov 11, 2011 8:08 am    Post subject: Test if service is paused Reply with quote

You may use WMI test to check Windows services.
E.g. Add new WMI tets, set WMI Query like the following:
select State from Win32_Service WHERE CAPTION="Net Logon"
And set condition:
Alert if any State contains Pause
With this settings, WMI test will return Bad status, when Net Logon service is paused.
You may also use "Use Warning status if" option with expression like the following:
'%SuggestedReply%'=='Stopped'
With this additional setting, test will return also Warning status when service will be stopped.

Please check the manual or visit our web site for more information:
WMI test: http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#wmi
"Use Warning status if" option: http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#warningstatus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index