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

Re: [php-weathermap] Smokeping RRDs for Node Targets



Cook, Garry wrote:
I've tried setting the MAXVALUE to a decimal, and using a decimal scale, but php-weathermap does not allow this.

MAXVALUE *should* allow decimal values... and SCALE should allow decimal percentages too. You do need to have the leading 0 in both cases, though. Maybe that's your issue there? I would have expected that you'd get a syntax error for that line in the config file otherwise though.

Questions:
Is this the proper format for fetching this data from the RRD?
Yes.
Can I multiply the data point by 100 somehow?
Yes.

       TARGET scale:100:/var/www/html/mrtg/rrdfiles/NorthMPLS/art1a-BAL-MD01.rrd:median:-

(for rrdtool only, but in most recent versions)
or
TARGET 100*gauge:/var/www/html/mrtg/rrdfiles/NorthMPLS/art1a-BAL-MD01.rrd:median:-
(must be no spaces, only works in 0.96test1, but works for any datasource)

Anything else obvious I might be missing? I'm happy to RTFM if someone has a link, Google was less than helpful in this area. It turned up a few posts and such, but upon reading them I'm starting to think that php-weathermap won't work with smokeping. Is this the case?
Yes, other people are using it fine, as far as I know. I did try it briefly before deciding to use Cisco IP SLA instead, for my own latency/jitter maps.

Maybe I should write up a few use-case type articles for this sort of thing...

Howie


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