Alerts get disabled after reboot.
Alerts get disabled after reboot.
Hi
Our Hostmonitor (6.54) is running on a Windows XP installed as a service. We have scheduled XP to install windows update every weekend at 03.00 Saturday morning.
It looks like that if the windows need to reboot during the update, the Hostmonitor starts up with alerts disabled. We then have to enable alerts again manually.
Have anyone else seen this? And how do I make a .hms scripts that automatically enables alerts again. I can find the commands for enable/disable test, but I can´t find out how to enable/disable alerts.
Regards
Jan L
Our Hostmonitor (6.54) is running on a Windows XP installed as a service. We have scheduled XP to install windows update every weekend at 03.00 Saturday morning.
It looks like that if the windows need to reboot during the update, the Hostmonitor starts up with alerts disabled. We then have to enable alerts again manually.
Have anyone else seen this? And how do I make a .hms scripts that automatically enables alerts again. I can find the commands for enable/disable test, but I can´t find out how to enable/disable alerts.
Regards
Jan L
Alerts? May be monitoring is stopped? Please check Start/Stop options located on Startup page in the Options dialog.It looks like that if the windows need to reboot during the update, the Hostmonitor starts up with alerts disabled. We then have to enable alerts again manually.
Such command does not have much sense. If alerts are disabled, action will not be executed anyway.I can find the commands for enable/disable test, but I can´t find out how to enable/disable alerts.
Regards
Alex
The startup page is set to "start after loading".
Monitoring is running fine. But I have to choose the "monitoring menu" and select "Enable alerts" before the alerts works.
Thats why I´m lookin for the enable alerts scripts, just to make sure that alerts is working. I do see your point about actions not beeing executed, but I thought I would be able to schedule a task to run i.e. 1/2 hour after the weekly update
Monitoring is running fine. But I have to choose the "monitoring menu" and select "Enable alerts" before the alerts works.
Thats why I´m lookin for the enable alerts scripts, just to make sure that alerts is working. I do see your point about actions not beeing executed, but I thought I would be able to schedule a task to run i.e. 1/2 hour after the weekly update
You enable alerts, restart system and alerts getting disabled again..
I see only 1 possible reason - you are using some script that modifies hostmon.ini file. May be you restore old hostmon.ini from backup at system startup or something like that.
Make sure that ini file contains "AlertsDisabled=0" line in [HostMon] section.
Regards
Alex
I see only 1 possible reason - you are using some script that modifies hostmon.ini file. May be you restore old hostmon.ini from backup at system startup or something like that.
Make sure that ini file contains "AlertsDisabled=0" line in [HostMon] section.
Regards
Alex
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
So, alerts are running, but AlertsDisabled=1? Strange. Are you sure HostMonitor uses this hostmon.ini? Probably, HostMonitor service is started from another forlder? Could you verify it? Have you installed several instances of HostMonitor on the machine?helios wrote:I just looked at the hostmon.ini. The parameter is set to "AlertsDisabled=1", although alerts are running now.
It is saved after you press "Save" button in "Options" dialog.helios wrote:When is this – and other settings- written to the Hostmon.ini file?
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You are right. Looks like when you enable/disable alerts via RCC it does not affect hostmon.ini.... For now you may try to use "Disable alert reactions" option. Options is located on "Behavior" tab of "Options" dialog and work with RCC as well.helios wrote:Could it have anything to do with the fact that I change the setting in the RCC and not directly in hostmonitor?
Regards,
Max
Fixed. Update available at www.ks-soft.net/download/hm674c.zip
Please install version 6.74 before using this update.
Regards
Alex
Please install version 6.74 before using this update.
Regards
Alex