KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Monitoring Hostmonitor running at remote site
Goto page 1, 2  Next
 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Colinl



Joined: 14 Jul 2005
Posts: 18

PostPosted: Thu Aug 11, 2005 3:15 am    Post subject: Monitoring Hostmonitor running at remote site Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Aug 11, 2005 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Colinl



Joined: 14 Jul 2005
Posts: 18

PostPosted: Thu Aug 11, 2005 10:40 am    Post subject: Reply with quote

Good idea, what type of check is needed, http?, ping?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Aug 11, 2005 11:03 am    Post subject: Reply with quote

If you want to monitor TCP port, use TCP test

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Malevo



Joined: 01 Apr 2005
Posts: 9

PostPosted: Thu Oct 06, 2005 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Oct 06, 2005 11:05 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Malevo



Joined: 01 Apr 2005
Posts: 9

PostPosted: Thu Oct 06, 2005 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Oct 06, 2005 6:52 pm    Post subject: Reply with quote

Does file exist? May be RMA started under account that does not have rights to access that folder?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Malevo



Joined: 01 Apr 2005
Posts: 9

PostPosted: Fri Oct 07, 2005 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Oct 07, 2005 3:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Malevo



Joined: 01 Apr 2005
Posts: 9

PostPosted: Wed Oct 12, 2005 3:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Oct 12, 2005 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Malevo



Joined: 01 Apr 2005
Posts: 9

PostPosted: Thu Oct 13, 2005 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
sherrera



Joined: 20 Feb 2005
Posts: 18

PostPosted: Thu Oct 13, 2005 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Oct 13, 2005 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index