When HM is shut down.....

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
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

When HM is shut down.....

Post by Stone_ll »

I want to know about if it can restart by itself when it is close by something occuring.
Such as: a breakdown in HM、someone unknown close it(HM) and so on.

and also it is good while it can mail to us after it restarts.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If HostMonitor as started as application, you may use "Start action profile every time monitoring is started/resumed" options (menu Monitoring -> Pause) to trigger notification alerts when monitoring is started/stopped.
If HostMonitor is started as service, I think you may use standard Windows options (Services applet, option located on Recovery tab) to restart service automatically.
Such as: a breakdown in HM、someone unknown close it(HM) and so on.
If someone has full access to the system, it can terminate (kill) application and change service settings so you will not receive any notification. IMHO in the first place you need to protect system from "someone unknown"

Regards
Alex
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

Thanks for your response.

According to your words,I may use "Start action profile every time monitoring is started/resumed" options and a script monitoring HM closed or not to solve my problem.

But I can't find the service in my system service panel.
I have setup HM from setup program one by one.

wish for your reply. 3x[/quote]
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Stone_ll wrote:According to your words,I may use "Start action profile every time monitoring is started/resumed" options and a script monitoring HM closed or not to solve my problem.
"Start action profile every time monitoring is started/resumed" will notify you when "someone unknown" closesthe HostMontor program gracefully, but it will not help if he kill the 'hostmon.exe' process (for instance using "End Process" command from "Task Manager"). Using script, that monitors process is running, is more preferable in this case. We are going to implement some kind of "watchdog" utility to monitor HostMonitor, however, it has not been implemented yet. As a workarond, you may use standard Windows "Scheduled task" applet to monitor HostMonitor. You just should create a simple .cmd or .bat script. To check certain process status, you may use appstatus.exe utility, that is included into HostMonitor's package and is located in \Utils\appstatus\ subfolder of the HostMonitor's folder. For instance, you may use following script to check HostMontor if it is running as an application:

Code: Select all

@echo off
"C:\Program Files\HostMonitor7\Utils\appstatus\appstatus.exe" -n hostmon.exe 

IF ERRORLEVEL 1 "C:\Program Files\HostMonitor7\hostmon.exe"
As you may see, foregoing script starts HostMonitor if it is not running.
If HostMontor is started as a service, you should use another script to start service, e.g.:

Code: Select all

@echo off
"C:\Program Files\HostMonitor7\Utils\appstatus\appstatus.exe" -n hostmon.exe 

IF ERRORLEVEL 1 net start HostMonService
Stone_ll wrote:But I can't find the service in my system service panel.
I have setup HM from setup program one by one.
It means service is not installed on your system. To install HostMonitor as a service, you should start HostMonitor (hostmon.exe) with the command line parameter "/InstallService". E.g. "hostmon.exe /InstallService". Please, readthe following article for details: http://www.ks-soft.net/hostmon.eng/mfra ... tm#Service

Regards,
Max
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

KS-Soft Europe wrote:We are going to implement some kind of "watchdog" utility to monitor HostMonitor, however, it has not been implemented yet.
Such a good idea.but how soon will it be implement?
After all,it is not convenient for using or managing to use script.
hoping for your new vision.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You don't have to wait for new utility.
If you want to use 2nd system to monitor 1st (basic) monitoring host, you may use 2nd installation of HostMonitor to monitor 1st instance of the software.

If you own Professional or Enterprise license, we can offer 2nd license for 3 test items at no cost. Please send request to sales@ks-soft.net.
If you own Lite or Standard license then you will need to purchase another (Lite) license for HostMonitor. I think Watchdog utility will not be available for Lite and Standard license as well.

Regards
Alex
Post Reply