View previous topic :: View next topic |
Author |
Message |
Colinl
Joined: 14 Jul 2005 Posts: 18
|
Posted: Thu Aug 11, 2005 3:15 am Post subject: Monitoring Hostmonitor running at remote site |
|
|
I have hostmonitor running fine at our head office but from my home office I would like to be able to monitor that hostmonitor is still running. I would prefer not to have to VPN into head office so can you recommend what you would consider a "reliable way of checking HM is operational" at head office. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Aug 11, 2005 10:20 am Post subject: |
|
|
Quote: | would like to be able to monitor that hostmonitor is still running |
You mean monitor HostMonitor by some program, e.g. using another instance of HostMonitor? In such case you may check RCI port (TCP port 1054 by default). If HostMonitor accepts connection, it works.
Or you want to check it by yourself? Then you may use Web Service:
http://www.ks-soft.net/hostmon.eng/webservice/index.htm
Or you may setup HostMonitor to send notification (e.g. e-mail) every 15 min...
Regards
Alex |
|
Back to top |
|
|
Colinl
Joined: 14 Jul 2005 Posts: 18
|
Posted: Thu Aug 11, 2005 10:40 am Post subject: |
|
|
Good idea, what type of check is needed, http?, ping? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Aug 11, 2005 11:03 am Post subject: |
|
|
If you want to monitor TCP port, use TCP test
Regards
Alex |
|
Back to top |
|
|
Malevo
Joined: 01 Apr 2005 Posts: 9
|
Posted: Thu Oct 06, 2005 10:23 am Post subject: |
|
|
Alex, My Problem is that sometimes the operator, deactivates the alarms, is there any way I can check remotely (external script or anything like that) if hostmonitor is still running and has the alarms turned on ?
Regards, Pablo |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Oct 06, 2005 11:05 am Post subject: |
|
|
1) You may remove right to disable alerts for that operator. Use menu User -> Oprators to setup accounts
2) You may setup action profile that will be executed every time alerts are disabled. Use menu Monitoring -> Pause
3) You may setup HostMonitor to send e-mail with status information on regular basis. Use Scheduler page in the Options dialog
Regards
Alex |
|
Back to top |
|
|
Malevo
Joined: 01 Apr 2005 Posts: 9
|
Posted: Thu Oct 06, 2005 12:38 pm Post subject: |
|
|
I created a test that writes a file every 10 minutes, and I created a test using a 2nd hostmonitor thru an RMA running in the machine where the 1st. hostmonitor is. The Test is the File Availability Test, but when it runs, I get "File not exists" error in the 2nd. hostmonitor, any ideas ?
1st Hostmonitor
HM 4.74 and RMA on Windows 2000 sp4
2nd Hostmonitor
HM 4.74 on Windows XP.
Regards, Pablo |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Oct 06, 2005 6:52 pm Post subject: |
|
|
Does file exist? May be RMA started under account that does not have rights to access that folder?
Regards
Alex |
|
Back to top |
|
|
Malevo
Joined: 01 Apr 2005 Posts: 9
|
Posted: Fri Oct 07, 2005 11:22 am Post subject: |
|
|
The file exists, and I already change the startup account for the rma service.
The file is being updated every 10 minutes. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Oct 07, 2005 3:18 pm Post subject: |
|
|
May be you have chosen wrong option of the test? It provides 2 options:
- alert when file doesn't exist
- alert when file exists
Or may be you have marked "Reverse alert" option?
Could you export test into text file and post settings here?
Regards
Alex |
|
Back to top |
|
|
Malevo
Joined: 01 Apr 2005 Posts: 9
|
Posted: Wed Oct 12, 2005 3:46 pm Post subject: |
|
|
Sur, here it is.
;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor at 12/10/2005 06:54:41 p.m. -
;- Source file: C:\Program Files\HostMonitor4\Examples\default.hml -
;- Generation mode: Selected_Tests -
;-----------------------------------------------------------------------------
; ------- Test #01 -------
Method = FileExists
;--- Common properties ---
;DestFolder = Root\
RMAgent = alarm1
Title = Alarma HostMonitor Miami
Comment = Alarma HostMonitor Miami
RelatedURL =
ScheduleMode= Regular
Schedule = 7 Days, 24 Hours
Interval = 600
Alerts = Alarma HostMonitor Miami
ReverseAlert= No
UnknownIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
File = c:\algo.htm
OkIfExists = No
UseMacros = Yes
MaxAge = 60
;-----------------------------------------------------------------------------
; Exported 1 tests |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Oct 12, 2005 4:53 pm Post subject: |
|
|
If you want to receive alert when file does not exist, why do you use "Alert when file exist" option?
Change it to "Alert when file DOES NOT exist"
Regards
Alex |
|
Back to top |
|
|
Malevo
Joined: 01 Apr 2005 Posts: 9
|
Posted: Thu Oct 13, 2005 9:37 am Post subject: |
|
|
Sorry, perhaps I didn't explain myself right, The file will allways exists, I just want to receive an alert when it is 60 or more minutes old.
Thanks, Pablo |
|
Back to top |
|
|
sherrera
Joined: 20 Feb 2005 Posts: 18
|
Posted: Thu Oct 13, 2005 1:12 pm Post subject: |
|
|
You can change your alert to:
File doesnt exist OR older than 60 min
or
File exist AND older than 60 min |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Oct 13, 2005 2:37 pm Post subject: |
|
|
I see. But if file will be removed (by operator mistake or some error in application), HostMonitor will set "Ok" status. Its not what you need, right?
So, I think its better to use "Alert when file does not exist OR older than 60 min" option.
Regarding problem - I have tested HM 4.74 and RMA 2.00, everything works fine. You are using RMA 2.00, right?
What status of the test do you see? Bad? Unknown? Any message in Reply field?
Regards
Alex |
|
Back to top |
|
|
|