Event time report

Exchange HTML report templates between users.
Post Reply
rbasyn
Posts: 2
Joined: Mon Mar 24, 2014 8:33 am

Event time report

Post by rbasyn »

Hi all,

I've created a couple of custom HTML reports for our managers to evaluate our system uptime and downtime, using javascript functions to customize the results. To evaluate even further they requested to me to create a report for specific folders that shows the event BAD status for the last month.

I've tried to accomplish this for the last day or 2 but fail to export this information.

Using this function I have filtered out our critical systems which I want to include in my report.

Code: Select all

var folder_name = '%Folder%'; 
  if (folder_name.indexOf('Filter_Folder_Name') == -1) 
     document.write('%TestName%, %Reply%, etc.<BR>'); 
Now I need to export every status bad event per folder. How can I accomplish this? I've searched the forum and the help to find the correct macro's but failed.

How can I export the status BAD events? Is this even possible with hostmonitor?
  • * FolderA
    24/03/2014 14:53 Status BAD
    15/03/2014 18:56 Status BAD
    04/02/2014 14:53 Status BAD
    17/02/2014 18:56 Status BAD
    * FolderB
    12/02/2014 14:53 Status BAD
    03/02/2014 18:56 Status BAD
    ....
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Now I need to export every status bad event per folder. How can I accomplish this? I've searched the forum and the help to find the correct macro's but failed.
How can I export the status BAD events? Is this even possible with hostmonitor?
You should get information from log files or ODBC logging (if you are using such logging). What kind of logging did you setup?

Regards
Alex
rbasyn
Posts: 2
Joined: Mon Mar 24, 2014 8:33 am

Post by rbasyn »

We write the logs to a standard HTML file.
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Then its pretty hard to get what you need.
I would suggest use SLA report for now
http://ks-soft.net/hostmon.eng/mframe.h ... es.htm#SLA

And setup ODBC logging so you will be able to make custom reports in future.
http://ks-soft.net/hostmon.eng/mframe.htm#logs.htm
Just don't use Oracle ODBC drivers, there are too many bugs.

Also for this task you may use text private logs on per-folder basis

Regards
Alex
Post Reply