Running as an Interactive service

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
mgscott
Posts: 3
Joined: Tue Aug 13, 2002 6:00 pm
Location: Packard Instrument Co..

Post by mgscott »

I have migrated Hostmonitor 3.x to a Win2000 server box and am trying to run it as an interactive service.

At first I ran the service using the system account, but a number of the tests (typically remote service checks) failed.

I then created a dedicated user account with enough privileges to run these tests and started the service using this account and the tests run correctly.

However, when I run the service in this manner, I don't get the icon in the system tray. Is there a way to get this so I don't have to stop the service, run the utility, restart the service each time I want to make a change to the configuration?

<font size=-1>[ This Message was edited by: mgscott on 2002-08-14 15:30 ]</font>
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

It starts to be funny. I have answered to this question probably 10 times in this forum and I answer several times every day to the same question by e-mail. BTW we have answer in our documentation :smile:
Note #1: When HostMonitor starts as a service, it uses the system account (as all interactive services). But this account may not have all the necessary permissions, so some tests will not work correctly (UNC test, "disk free space" test for shared drives, "CPU Usage" test for remote machines, etc). If you need these tests, you will need to assign a special user account on the Service page in the Options dialog. In this case HostMonitor will impersonate the security context of the user. Do not change the account using the system utility "Services". If you do so, HostMonitor may be unable to interact with the desktop.
http://www.ks-soft.net/hostmon.eng/mfra ... tm#Service
http://www.ks-soft.net/hostmon.eng/mfra ... tm#Service

Regards
Alex
mgscott
Posts: 3
Joined: Tue Aug 13, 2002 6:00 pm
Location: Packard Instrument Co..

Post by mgscott »

Oops, (Didn't RTFM) I missed that part :smile:
Anyway, i changed the service parameter back to the system account and changed the logon parameters from whithin HostMonitor and it still doesn't show up in the system tray.
Is the user name supposed to be specified as just "USERNAME" or "DOMAINUSERNAME"?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Just USERNAME. Did you enable "allow service to interact with desktop" option (located on Service Properties dialog in Services system utility)?

Regards
Alex
mgscott
Posts: 3
Joined: Tue Aug 13, 2002 6:00 pm
Location: Packard Instrument Co..

Post by mgscott »

That was it, must've come "unchecked" when I changed it back to system account.

BTW, I tried changing to just USERNAME and it didn't like it, I had to do DOMAINUSERNAME.

Thanks again for your help.
Locked