HM reports

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
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

HM reports

Post by Nadir »

Hello

How I can do a report like this ? --> http://www.ks-soft.net/hostmon.eng/examples/custom2.htm

What's options must I selected?

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

Post by KS-Soft »

Its not just options, you should create HTML code.
http://www.ks-soft.net/hostmon.eng/mfra ... CustomHTML
Actually you may take code from the example, just replace test properties with appropriate macro variable and save images to your local drive

Regards
Alex
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

Hi Alex

I don't know what piece of html code i must change in custom report html <input type=button class=Good.....
I want have bubble look like example

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

Post by KS-Soft »

If you want to see "bubbles", save our bubble images or create your own images. Then add code like

Code: Select all

<IMG height=16 alt="Test: %TestName%  Status: %Status%  Reply: %Reply%" src="images/green.gif" width=16 border=0>
into "Test items: with Good status" section of the template.
Add code like

Code: Select all

<IMG height=16 alt="Test: %TestName%  Status: %Status%  Reply: %Reply%" src="images/red.gif" width=16 border=0>
into "Test items: Bad items" section of the template.
Add code like

Code: Select all

<IMG height=16 alt="Test: %TestName%  Status: %Status%  Reply: %Reply%" src="images/yellow.gif" width=16 border=0>
into "Test items: Unknown" section of the template.
and so on...

add code

Code: Select all

<tr><td valign=top nowrap><b>%Folder%</b></td><td> </td><td>
into "Folder title" section;
add code

Code: Select all

</td></tr>
into "Folder summary" section.

Do not forget about

Code: Select all

<table border=0>
in the "Header" section

Regards
Alex
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

Hi Alex

Thank you for codess it works very weel, but could you tell me how to do for see folders ans subfolders ine same line like:

Root
Root\ASIA
Root\ASIA\servers

Root\Chine
....
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you want to display full folder path name, use %FullPath% variable instead of %Folder%

Regards
Alex
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

Hello Alex

I want to display folders like this:

Root\Asia\Servers 0 0 0 0
Switches 0 0 0 0
Routers 0 0 0 0


Root\China\Servers 0 0 0 0
Switches 0 0 0 0
Routers 0 0 0 0

(0=bubbles refers status on tests)

because in folders Root and Asia I don't have test but just in subfolders servers, switch...

Thank you very much
Regards Nadir
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You want to display full path for some folders and just name for other? Don't see how it can be implemented, unless you create some java script to check folder name and use different macro variables for different folders...

Regards
Alex
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

Hello

I want to display folder name just for folders who contains tests and display fullpath for other
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, I don't see any solution for this

Regards
Alex
Post Reply