Hi,
Just wondering is there a way to monitor whether or not the "Enable Alerting" option is currently running? The reason I ask this is that I came in today and noticed that Alerting was currently disabled on HostMonitor (7.20) and there had been an issue overnight, it would be nice to have a feature (if not already available) to allow you to auto restart the alerting service after x mins/hours.
Any suggestions to get around this?
Marcus
Alerting monitoring
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
If you want to monitor alerts are enabled/disabled, you my use "Compare Files" test method with "alert when file contains a specified string" option. You should check for "AlertsDisabled=1" string in "hostmon.ini" file. http://www.ks-soft.net/hostmon.eng/mfra ... tm#filecmp
However, if alerts are disabled, HostMonitor will not start any action, assigned to this test.
If you want to be sure alerts are always enabled, you may create a .hms sript file with EnableAlerts command, and use built-in "Scheduler" ("Options" -> "Scheduler") to schedule some alert profile with "Execute HMS Script" action to be performed on regular basis, for instance, every 5 minutes.
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
Regards,
Max
However, if alerts are disabled, HostMonitor will not start any action, assigned to this test.

If you want to be sure alerts are always enabled, you may create a .hms sript file with EnableAlerts command, and use built-in "Scheduler" ("Options" -> "Scheduler") to schedule some alert profile with "Execute HMS Script" action to be performed on regular basis, for instance, every 5 minutes.
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
Regards,
Max
HostMonitor may start actions (e.g. "send e-mail") when somebody stops/starts monitoring and/or disables/enables alerts. Use menu Monitoring -> Pause to setup these options.Just wondering is there a way to monitor whether or not the "Enable Alerting" option is currently running?
If several persons have access to system where HostMonitor is running, I would recommend to setup set of permissions for each operator. E.g. you may remove "start/stop monitoring" and "manage action profiles" permissions.The reason I ask this is that I came in today and noticed that Alerting was currently disabled
http://www.ks-soft.net/hostmon.eng/mfra ... #operators
Regards
Alex