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

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



Excellent! That did it. The leading '0' was missing from MAXVALUE, didn't realize it was needed. I did get a syntax error when doing it wrong, like so:

$ sudo php weathermap --config north.conf
north.conf: Unrecognised config on line 70:     MAXVALUE .1

Perhaps the error could be more descriptive for future newbies?

So, no need to multiply the values, although how to do so is useful info, so I'm glad I know that now too.

If you do get around to writing some articles about this type of stuff, that would be great. At first I was going to point my nodes (all routers) at the CPU Utilization from MRTG. However, that's not really useful to us. The latency at each site is important, so the smokeping data makes a lot more sense. I would be interested in learning more about how you do the IP SLA data though.

Awesome work Howie. I've looked at weathermaps in the past, but they always seemed like more work than I had time for. I'm glad that I decided to look into it again and found php-weathermap.

Thanks,
Garry

-----Original Message-----
From: Howard Jones [mailto:howie@xxxxxxxxxx]
Sent: Tuesday, August 19, 2008 1:42 AM
To: php-weathermap@xxxxxxxxxx
Subject: 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



NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates.

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