Alerting monitoring

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
mrfrosty
Posts: 21
Joined: Thu Feb 14, 2008 3:20 am

Alerting monitoring

Post by mrfrosty »

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
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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
mrfrosty
Posts: 21
Joined: Thu Feb 14, 2008 3:20 am

Post by mrfrosty »

Thanks max.

Marcus
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Just wondering is there a way to monitor whether or not the "Enable Alerting" option is currently running?
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.
The reason I ask this is that I came in today and noticed that Alerting was currently disabled
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.
http://www.ks-soft.net/hostmon.eng/mfra ... #operators

Regards
Alex
Post Reply