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

Action configuration after "Service test"

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



Joined: 19 Sep 2014
Posts: 36

PostPosted: Fri Feb 21, 2020 4:04 pm    Post subject: Action configuration after "Service test" Reply with quote

Hello,
I set the service test.
If the test ends in "BAD" status, I would like the service to start automatically, provided that the service has no initial type set:
manual or disable.
How to configure the action to work as described above?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Feb 21, 2020 5:29 pm    Post subject: Reply with quote

Do you want to start service?
or you want to set "automatic" startup type?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
cichockia



Joined: 19 Sep 2014
Posts: 36

PostPosted: Fri Feb 21, 2020 10:04 pm    Post subject: Reply with quote

I want the service to start only if the service is not set to disabled or manual mode
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sat Feb 22, 2020 4:26 am    Post subject: Reply with quote

1) Set "Alert when some Auto services not running" test mode.
2) Add "Start service" action into alert profile assigned to the test

Quote from the manual
Quote:
HostMonitor will get list of ALL services with Automatic startup type and check state of each service. If some "auto" service is not running, HostMonitor will set Bad test status. You may specify comma separated list of the services that should not be checked, e.g. MMCSS,sppsvc,UxSms; you may use * wildcard at the end of the name, e.g. clr*,spp*

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
cichockia



Joined: 19 Sep 2014
Posts: 36

PostPosted: Wed Feb 26, 2020 2:58 pm    Post subject: Reply with quote

Unfortunately, I need this function for one selected service.

It remains to use the test script

Thank you for your help
Back to top
View user's profile Send private message
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