Service vs. App

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Tommy
Posts: 22
Joined: Mon Jul 01, 2002 6:00 pm

Post by Tommy »

I recently installed HM as a service. I changed a few settings via the application (hostmon.exe). When closing the application it said further monitoring would be discontinued. I closed anyway to see if the service would actually keep monitoring. it did not. How do I have HM continue to monitor without the app running?

thanks

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

Post by KS-Soft »

Service must keep monitoring. Different instances of HostMonitor do not interfere. So, you can start 5 different copies of HostMonitor and when you close one, other will continue monitoring.
How did you check service? Are there some HostMonitor's messages in the Event Log? Do you see HostMonitor's icon in system tray?

Regards
Alex
rdol
Posts: 20
Joined: Sun Apr 28, 2002 6:00 pm
Contact:

Post by rdol »

Is it really possible to have one HostMon instance running as a service and modify its settings with other instance = application?

Does the service detect changed settings or do I need to restart the service every time?

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

Post by KS-Soft »

Normally to change settings you do not need start second instance of HostMonitor, unless you work with remote system using MS Terminal Server. When HostMonitor starts as a service, it must show icon in system tray. You can click on the icon and open HostMonitor's window.
If you do not see icon, please, check follow parameters:
- "Icon in the System Tray" option on Preferences page in the Options dialog
- account that Service Manager uses to starts HostMonitor. It must be "local system" account and "allow service to interact with desktop" option must be enabled as well

Regards
Alex
rdol
Posts: 20
Joined: Sun Apr 28, 2002 6:00 pm
Contact:

Post by rdol »

Unfortunately I use MS Terminal Services. That's why I am interested in second instance. Do I need to restart the service if some settings were changed via second HostMon in application mode? Or does HM service monitor config files changes?

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

Post by KS-Soft »

Yes, in this case you have to restart service to apply changes (interactive services cannot work with remote console).
In future versions will be implemented web interface.

Regards
Alex
Locked