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).
Hi All,
Been a while since I was last on here, a job change and I have managed to convince the new boss that HM is the way forward!
Anyway, I have setup our SAN to dump syslogs to a file the server HM is running on to monitor for any faults. This works well, I have setup an expression to look for common "fault" conditions in the text log. I separate the logs per day and I use the %NewestFile% macro. The previous day log file is shifted into an archive folder so is no longer available
However, 1 of ours SAN's is a little quiet in syslog chatter so it could be a while (read: days!) before any new log file is created, and as there is no file for HM to check, the status goes to unknown.
Is there a way to prevent this test from going to unknown if there is no file detected to read?
Ok, just figured out a temp work around. My syslog processing script just looks for .txt files to archive, so I have created a "dummy.log" file which HM picks up but my processing script does not.
When the SAN eventually creates its own syslog, the age of that will be newer so HM will read that instead thus checking it for errors.
Bit of a bodge but seems to work, but would be great if there is a solution to the missing file issue in HM!
So folder is empty when HostMonitor returns "Unknown" status? This is correct behavior.
I was thinking about additional "master" test that will check for existing files (e.g. File/Folder Availability or Count Files test method) but "dummy.log" file just as good.
>Been a while since I was last on here, a job change and I have managed to convince the new boss that HM is the way forward!
KS-Soft wrote:So folder is empty when HostMonitor returns "Unknown" status? This is correct behavior.
I was thinking about additional "master" test that will check for existing files (e.g. File/Folder Availability or Count Files test method) but "dummy.log" file just as good.
>Been a while since I was last on here, a job change and I have managed to convince the new boss that HM is the way forward!
Thank you
Regards
Alex
thanks for your reply. I will keep with the dummy log file solution then