[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [php-weathermap] Latency Weathermaps?



James Cornman wrote:
Hi.

I'm using PHP Weathermap in conjunction with Cacti. I'd like to figure
out some way to be able to weathermap based on latency levels and not
any sort of 'bits per second' level. Basically its the same concept
but I'm not sure if the 'Advanced Ping' data provided in cacti easily
translates well to PHP Weathermap as far as RRD layouts/data sources
etc. Does anyone have any ideas on how to really accomplish this with
PHP weathermap?
All you need to know is the DS names for the rrd files. In fact, if you just use 'TARGET thatfile.rrd', then Weathermap will put a warning in the cacti.log with the possible ds names, for you. You can also just do 'rrdtool info thatfile.rrd' to find the DS names.

There's more about this stuff here: http://www.network-weathermap.com/node/85

The only other caveat is that the scale is still a percentage. So pick a value beyond which *anything* is bad (e.g. 1000ms) and set the BANDWIDTH to that. Then everything above that will be red, or whatever you set as 100% in your scale.

Other people have also used the rrds generated by Smokeping successfully, if you happen to use that too, and I have used the Cisco IP SLA cacti templates to do this too. Plenty of options. The final option, which is pretty untested, is to install fping, and use the fping datasource in Weathermap instead, and have it gather it's own data.

Howie

Copyright 1994-2005, by Howard Jones. howie@thingy.com