PDA

View Full Version : Overview Page


axel
21-12-2005, 10:16
HI

Is it possible to change the Monitoring -> Overview output ?

For my use it is better that i have the HOSTs at the left site and the items or Triggers on the top . because i have more Hosts than Triggers.

Can somebody help me ?

Thx Axel


example
HOST |PING| LOAD|Backup Errors |
Server1| 1 | 0.03 | Character text .....|
Server2| 1 | 0.10 |
Server3| 1 | 0.00 |
Server4| 0 | 1.50 |
.... |

My Problem @the moment

___________|Server1___________|Server2____________ |....
Ping | 0 | 0 |
LOAD | 0.10 | 0 |
Backup Errors|TEXT TEXT TEXT ...|TEXT TEXT TEXt .......|

primos
17-01-2006, 01:40
I changed the css writing style to vertical for the overview layout of the hosts, works for 20-30 servers very well for smaller groups I left horizontal writting mode, good trick for triggers not data!

hope that helps

I agree vice-versa would be great but not for all the things!


ps I also made a trigger map (trigger+map), added triggers to the maps!

Alexei
17-01-2006, 09:03
I changed the css writing style to vertical for the overview layout of the hosts, works for 20-30 servers very well for smaller groups I left horizontal writting mode, good trick for triggers not data!

hope that helps

I agree vice-versa would be great but not for all the things!


ps I also made a trigger map (trigger+map), added triggers to the maps!
Please can you post screenshots of your improvements.

bytesize
26-01-2006, 14:37
Please could you post how you did this, as I have the same problem.

Thanks!

John

bytesize
26-01-2006, 15:09
Here are my instructions on how to list hosts vertically in the Overview page, so you don't have to scroll to see large number of hosts. It looks very impressive!

First, make a backup of overview.php, css.css and includes/html.inc.php


Edit overview.php

Line 117 change to:
overview_header($header);

Line 196 change to:
overview_header($header);


Edit includes/html.inc.php

Insert this function at line 88 (do not overwrite any code):

function overview_header($elements)
{
echo "<tr bgcolor='#CCCCCC'>";
while(list($num,$element)=each($elements))
{
echo "<td valign=bottom><NOBR><SPAN CLASS=vertical>".$element."&nbsp;</SPAN></NOBR></td>";
}
echo "</tr>";
echo "\n";
}


Add to bottom of css.css:

.vertical
{
width:1px;
writing-mode: tb-rl;
filter: flipv fliph;
}


..and your done! Refresh the overview page and you should see your vertical hostnames!

John

axel
27-01-2006, 12:40
HI thx

I make this changes but nothing happen.

Do you have an idea what i do wrong ?

THX
Axel

Edit: 1 thing change the host Names are not BOLD ;)

mpeide
30-01-2006, 20:33
Thanks for instructions. Helps me out a lot.

I noticed that when I use Firefox web client (on WINXP) - that server names are still horizontal. Works great on IE and Maxthon.

primos
30-01-2006, 21:53
I forgot about this thread, sorry Alexei!

Css style vertical saves me from long domain names, and yes it doesn't work in Mozzila&..!
http://silos.gorkic.com/zabb/overview.JPG

Here I'm working on overlib stream over the page head where I'll place info and buttons for spawning jmeter test, which delivers data.The overlib opens when you click on the server and goes away when cross it with your mouse(when you leave the field).
http://silos.gorkic.com/zabb/overview-overlib.JPG

Screens
http://silos.gorkic.com/zabb/screen.JPG

Added links field
http://silos.gorkic.com/zabb/srv_status.JPG

Trigger map, I added another table. Good thing gives you free hands at developing the map! In the map are servers and triggers.

http://silos.gorkic.com/zabb/triggermap.JPG

ps I added a crt BLOB field to users so I can auth with SSL cert without any login and ..

a question will zabbix be able to connect to slave db after reconnection to primary fails?

axel
31-01-2006, 11:16
Great exact what i need ;)

fonderia
31-01-2006, 17:37
primos: can you post your modifications here?


thanks.

primos
31-01-2006, 17:49
I can and I will but I need time to polish it. I was thinking on waitting for beta6 to start making mods for publishing.

or I can post easy howto now?

guys & girls decide

fonderia
31-01-2006, 17:57
imho, could be useful in the meantime to share the code.

primos
31-01-2006, 19:24
This code sucks because I stopped working on it a while ago and start testing ways to improve things so the code is f... ,but as I said before I'm waitting for beta6 to start inline coding .

so this is experimental stuff with x errors
http://silos.gorkic.com/zabb/

my db (table users(+sslcert BLOB),table app_link,table sysmaps_triggers)

http://silos.gorkic.com/zabb/db.txt

not proud on it but you can have it if you want!

and http://silos.gorkic.com

user test
pass %test

cameronsto
31-01-2006, 20:51
I created a patch for primos's changes to the overview page with regards to the horizontal headers. Here's the post (http://www.zabbix.com/forum/showthread.php?t=2078). As I use Opera primarily, this doesnt' work for me, but I am going to look into using the PHP-GD library to create images to use as headers instead of text, so that I can have the same effect.

-cameron

fonderia
01-02-2006, 11:44
i've browsed the code but i'm not quite sure what they are all about.
I see the diff adds references to some 'external checks', what they are for?

primos
01-02-2006, 13:34
Zabbix Eternal needs server core patch (poller). I'll remove it my self when beta6 arrives , they work as expected but the work to get it ...

not for everyone. Forget External for now and do cron with active check.

krusty
22-02-2006, 15:09
HOST |PING| LOAD|Backup Errors |
Server1| 1 | 0.03 | Character text .....|
Server2| 1 | 0.10 |
Server3| 1 | 0.00 |
Server4| 0 | 1.50 |
.... |

My Problem @the moment

___________|Server1___________|Server2____________ |....
Ping | 0 | 0 |
LOAD | 0.10 | 0 |
Backup Errors|TEXT TEXT TEXT ...|TEXT TEXT TEXt .......|

Hi zabbix developer,

is there a chance that you can implement this feature? The solution from primos doesn't work for me.

Regards

bytesize
28-02-2006, 19:15
Zabbix beta7 has broken this workaround - can anyone suggest how to get the hostnames to be listed vertically again on the overview page?

John