|
|
| Author |
Message |
mduling
Joined: 01 Mar 2005 Posts: 16
|
Posted: Tue Mar 04, 2008 8:59 pm Post subject: View traffic & error stats |
|
|
| I'm just learning php weathermap and loving it! But I have a practical question. Does anyone put interface error stats on their weathermaps, and if so what would be the best way to display traffic and error stats for network links other than creating a separate map for error stats?
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 1989 Location: United Kingdom
|
Posted: Thu Mar 06, 2008 6:39 pm Post subject: |
|
|
I've been thinking about that lately too.
I was thinking perhaps that some kind of flag in INBWFORMAT could hide a value if it was 0. The GrangeNet weathermap does that. Or maybe did. It seems a bit dead.
So you'd get "56Mb" normally, and "56Mb - 1.2 err/sec" if there were errors. We'd need some way to specify that other data source too, which doesn't exist right now.
One of the others (I think it was the old Abilene/Internet2 map) shows errors as a black bar running alongside the link. It looked pretty ugly, and not too obvious though. You can do a variation of that with my weathermap by using two links between the same nodes, one with a smaller width than the other. That looks kind of OK, actually. Like a racing stripe. It also gets you a second TARGET, to use for the stripe.
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 1989 Location: United Kingdom
|
Posted: Mon Mar 17, 2008 5:08 pm Post subject: |
|
|
I was just building a new latency map at work today, and had a quick experiment with error signalling. Here's what I came up with. This uses two overlaid links, of different WIDTH. The 'inside' one is latency in this case, but would normally be traffic. The 'outside' one has no outline, and a different SCALE that makes it white most of the time, but red of non-zero error counts. In the picture below, the 'errors' link exists on both sides of the arrow, but only one side has errors, so only that side is visible.
| Code: |
# special scale for highlighting link errors
SCALE errors 0 0 255 255 255
SCALE errors 0 100 255 0 0
LINK link1_err
NODES node1 node2
BWLABEL none
WIDTH 8
OUTLINECOLOR none
USESCALE errors
TARGET rtr1_link1_errors:err_in:err_out
ARROWSTYLE 3 2
LINK link1
TARGET gauge:rtr1_voipmos_5807.rrd:-:rtt
NODES node1 node2
WIDTH 4
|
I would also deliberately NOT put an overlibgraph on the errors arrow, so that the user doesn't get a surprising popup graph as they go to hover over the normal traffic arrow, since the surrounding 'errors' arrow would be invisible most of the time.
0.96 has Z-ordering, so you can guarantee that the first link will be drawn under the second one, but in practice this works OK at the moment.
| Description: |
|
| Filesize: |
7.46 KB |
| Viewed: |
821 Time(s) |

|
|
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|