Dear KS-Soft,
Now I have several tests (check service) on backuped servers. Daily we had to start backup and during this task these services are disable by the backup job. Thus HostMonitor send report that tests are in bad status while it’s normal.
I need to have the test scheduled 24h/24h. So I would like to know how automatically disable these test during backups (backup time shifting every day), maybe with a script…
Regards
Baptiste
disable tests by script
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You may use "HMS Script": http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
"DisableTest" command allows you to disable test or group of tests. "EnableTest" command enblables disabled tests.
You may start "HMS script" automaticaly as other actions or on regular basis using built-in "Scheduler" ("Options" -> "Scheduler"). It is also possible to start "HMS script" manually using menu "File" -> "Execute Script.."
On the other hand, you may adjust test or action schedule: http://www.ks-soft.net/hostmon.eng/mfra ... #Schedules
Regards,
Max
"DisableTest" command allows you to disable test or group of tests. "EnableTest" command enblables disabled tests.
You may start "HMS script" automaticaly as other actions or on regular basis using built-in "Scheduler" ("Options" -> "Scheduler"). It is also possible to start "HMS script" manually using menu "File" -> "Execute Script.."
On the other hand, you may adjust test or action schedule: http://www.ks-soft.net/hostmon.eng/mfra ... #Schedules
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
I am afraid, that's impossible to enable/disable test by external program automatically.Baptiste wrote:I shall want to know if it is possible to make the same operation* by an external script to Hostmonitor
I think, you may use "Master/Dependent" relations between tests to figure it out. For instance, you may setup some test, that checks if backup script is running on the remote server, and make this as Master for other service tests. Please, read the following article for details: http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master
Regards,
Max