Log problem
Log problem
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]
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]
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Log problem
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 problem is that I get 2 No answers events and after it 2 Host is alive event.
"Default" means test inherits log settings from "Options" dialog. What exact logging mode is set in "Options" -> "Log Settings" tab?csk026 wrote:The test mode log is default.
Regards,
Max
test event log
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]
** 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]
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: test event log
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#Logcsk026 wrote:I expect to get for each "No answer event" "Host is alive" event
===================================
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
Log problem
Thanks
But The default log mode is "Midnight:
"Write a record when test status changes + midnight logging"
Regards
But The default log mode is "Midnight:
"Write a record when test status changes + midnight logging"
Regards
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
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
Regards,
Max
Log problem
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
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
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
- 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
Log problem
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
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
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Log problem
We do not recommend to run several HostMonitor instances with the same test list.csk026 wrote:You are right because of a mistake there are two instances of Hostmonitor.
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.csk026 wrote:Sometimes Hostmonitor system tray icon service disappeared and the operator try to run Hostmonitor from the desktop.
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
Log problem
I prefer to use remote desktop and not RCC.
RCC does not support view statistics.
But any way the problem was resolved.
Thanks
RCC does not support view statistics.
But any way the problem was resolved.
Thanks
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)RCC does not support view statistics
http://www.ks-soft.net/hostmon.eng/la/index.htm
Regards
Alex
Log problem
it's very convenient to use it from the console.
Regards
Regards