Log problem

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
csk026
Posts: 25
Joined: Mon Apr 29, 2002 6:00 pm

Log problem

Post by csk026 »

Hi
I used hostmonitor 6.8 on my prodution enviroment.
Hostmonitor server is on computer room and the remote agent is connected over the wan.
I get unexpcteded results for a ping test
as following:
1/5/2009 11:47:38 AM Unknown RMA: Connection error
1/5/2009 11:47:38 AM Host is alive 94 ms
1/5/2009 8:29:15 PM No answer
1/5/2009 8:29:31 PM No answer
1/5/2009 8:29:45 PM Host is alive 0 ms
1/5/2009 8:30:01 PM Host is alive 0 ms

The problem is that I get 2 No answers events and after it 2 Host is alive event.
The test mode log is default.

Regards[/img]
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: Log problem

Post by KS-Soft Europe »

csk026 wrote:The problem is that I get 2 No answers events and after it 2 Host is alive event.
Where is the problem? Could you explain your situation more accurate? How often test is performed? What exact log records do you expect to see?
csk026 wrote:The test mode log is default.
"Default" means test inherits log settings from "Options" dialog. What exact logging mode is set in "Options" -> "Log Settings" tab?

Regards,
Max
csk026
Posts: 25
Joined: Mon Apr 29, 2002 6:00 pm

test event log

Post by csk026 »

I expect to get the following results:
** No answer
** Host is alive
** No answer
** Host is alive

or
** No answer
** Host is alive

I expect to get for each "No answer event" "Host is alive" event
test schedule is every 30 seconds.
(The Sys admin doesn't want to get unnecessary alerts)

Regards

[/img]
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: test event log

Post by KS-Soft Europe »

csk026 wrote:I expect to get for each "No answer event" "Host is alive" event
I suppose, "Full" logging mode is set in "Options" -> "Log Settings" ("Primary Log") tab. It means HostMonitor writes a record about every performed test. You may change it for "Brief" or "Midnight". Quote from the manual: http://www.ks-soft.net/hostmon.eng/mfra ... ns.htm#Log
===================================
Default logging mode
This option tells HostMonitor when information should be written. Choose one of the following options:

* Full: Save information about every performed test
The "Save information about every performed test" option tells HostMonitor to add a record every time a test is performed.
* Brief: Write a record when test status changes
With this option selected no logging happens as consecutive tests return same status value, until the status changes, at which point a new log record is added.
* Midnight: Write a record when test status changes + midnight logging
With this option selected HostMonitor records information about current status of all test items at midnight (every night), then no logging happens as consecutive test probes return same status value, until the status changes, at which point a new log record is added.
* Reply: Write a record when test status or reply value changes
===================================

Regards,
Max
csk026
Posts: 25
Joined: Mon Apr 29, 2002 6:00 pm

Log problem

Post by csk026 »

Thanks
But The default log mode is "Midnight:
"Write a record when test status changes + midnight logging"

Regards
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

So, we are talking about "Private Log" right? Hm. You said, test is performed every 30 seconds, but for the log I can see test is performed every 15 seconds or so (8:29:15 -> 8:29:31 -> 8:29:45). Could you verify the settings? Probably some other test writes into the same log file as well? Could you check that?

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

Post by KS-Soft »

BTW: Log records always show test name. Isn't it?

Regards
Alex
csk026
Posts: 25
Joined: Mon Apr 29, 2002 6:00 pm

Log problem

Post by csk026 »

The log section is from the log analizer.
the section from the private log is:
[1/5/2009 8:29:15 PM] WFSRVCZBR001001:ping No answer ping (timeout - 2000 ms)
[1/5/2009 8:29:31 PM] WFSRVCZBR001001:ping No answer ping (timeout - 2000 ms)
[1/5/2009 8:29:45 PM] WFSRVCZBR001001:ping Host is alive 0 ms ping (timeout - 2000 ms)
[1/5/2009 8:30:01 PM] WFSRVCZBR001001:ping Host is alive 0 ms ping (timeout - 2000 ms)

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

Post by KS-Soft »

Well, if time interval specified for the test is 30 sec and you see records in the log every 15 sec, this means either
- you have 2 test items with the same name that record data into the same log
- test item is configured as Master test for some other test item
- you are running several instances of HostMonitor

If you are using Brief or Reply logging mode and you see duplicated records in the log, this means either
- you have 2 test items with the same name that record data into the same log
- you are running several instances of HostMonitor

In other words, if you described test and logging settings correctly, you should be running 2 instances of HostMonitor (e.g. application and service) using the same configuration files (the same installation folder).
Its not a good idea

Regards
Alex
csk026
Posts: 25
Joined: Mon Apr 29, 2002 6:00 pm

Log problem

Post by csk026 »

You are right because of a mistake there are two instances of Hostmonitor.
I think that the reason is that
Sometimes Hostmonitor system tray icon service disappeared and the operator try to run Hostmonitor from the desktop.


Regards

Momo
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: Log problem

Post by KS-Soft Europe »

csk026 wrote:You are right because of a mistake there are two instances of Hostmonitor.
We do not recommend to run several HostMonitor instances with the same test list.
csk026 wrote:Sometimes Hostmonitor system tray icon service disappeared and the operator try to run Hostmonitor from the desktop.
Do you use Remote Desktop or Terminal Service to access HostMonitor on remote machine? We recommend to use RCC instead. RCC allows you to work with HostMonitor which is running on a remote system just like you work with HostMonitor when it is started on your local system. RCC has exactly same interface as the one of the HostMonitor. Via RCC you will be able to modify alert profiles, reports, change any option, edit mail templates, create new or modify existing test items, etc.
http://www.ks-soft.net/hostmon.eng/rcc/index.htm

Please, read the following article for details: http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=1100

Regards,
Max
csk026
Posts: 25
Joined: Mon Apr 29, 2002 6:00 pm

Log problem

Post by csk026 »

I prefer to use remote desktop and not RCC.
RCC does not support view statistics.

But any way the problem was resolved.

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

Post by KS-Soft »

RCC does not support view statistics
view statistics? Are you talking about Log Analyzer? You may start Log Analyzer on any system independently of RCC or HostMonitor. You just need access to log file (or database table)
http://www.ks-soft.net/hostmon.eng/la/index.htm

Regards
Alex
csk026
Posts: 25
Joined: Mon Apr 29, 2002 6:00 pm

Log problem

Post by csk026 »

it's very convenient to use it from the console.


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

Post by KS-Soft »

Yes, it it.
Just please make sure you do not start 2nd instance of HostMonitor as application. BTW: When you try to do so, HostMonitor shows warning and starts only after confirmation!

Regards
Alex
Post Reply