View previous topic :: View next topic |
Author |
Message |
cichockia
Joined: 19 Sep 2014 Posts: 36
|
Posted: Fri Feb 21, 2020 4:04 pm Post subject: Action configuration after "Service test" |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Feb 21, 2020 5:29 pm Post subject: |
|
|
Do you want to start service?
or you want to set "automatic" startup type?
Regards
Alex |
|
Back to top |
|
|
cichockia
Joined: 19 Sep 2014 Posts: 36
|
Posted: Fri Feb 21, 2020 10:04 pm Post subject: |
|
|
I want the service to start only if the service is not set to disabled or manual mode |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Sat Feb 22, 2020 4:26 am Post subject: |
|
|
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 |
|
|
cichockia
Joined: 19 Sep 2014 Posts: 36
|
Posted: Wed Feb 26, 2020 2:58 pm Post subject: |
|
|
Unfortunately, I need this function for one selected service.
It remains to use the test script
Thank you for your help |
|
Back to top |
|
|
|