[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [php-weathermap] Units problem with PNP Nagios
- From: Gauthier DOUCHET <gauthier.douchet@xxxxxxxxx>
- Subject: Re: [php-weathermap] Units problem with PNP Nagios
- Date: Tue, 29 Dec 2009 16:23:20 +0100
Hi, I just discovered the debug command, that's useful. :) I found that rrdtool is searching for the AVERAGE value which corresponds to ds[1].value and ds[2].value. But for me, it would be ds[1].last_ds and ds[2].last_ds, I'm searching how to tell that to weathermap. Gauthier 2009/12/29 Howard Jones <howie@xxxxxxxxxx> > If you run with --debug, you can see what values weathermap is reading. > It's much easier to figure out than percentages. > My first guess is that you are running with French (or other european) > environment settings, and there is a parsing problem with ',' vs '.' in > reading rrdtool output. > > The debug output would confirm that. > > You didn't say which version of weathermap you have, but that should be > fixed in 0.97test versions, and perhaps 0.96a. > > Gauthier DOUCHET wrote: > > Hi all, > > > > I'm using Nagios and the check_snmp_int script to know bandthwith from > > several interfaces of my switches. > > I put PNP to create RRDs files associated. It's working well and I can > > see nice graphs for my differents interfaces directly on Nagios. > > > > Now I would to use these RRDs in Weathermap but it seems values are > > very smaller than values seen in PNP (which are right). > > > > In my RRDs, ds[1].last_ds is the "in" value and ds[2].last_ds is the > > "out" one. > > > > For example, at this moment Nagios told me these values: > > Performance Data: > > 'Nortel Ethernet Routing Switch 5530-24TFD Module - Port 6 > > _in_bps'=484743;6000000;7500000;0;1000000000 > > 'Nortel Ethernet Routing Switch 5530-24TFD Module - Port 6 > > _out_bps'=1754543;6000000;75000000;0;1000000000 > > > > and the command > > "rrdtool info rrds/Switch-21/Bandwidth_FW_0_1_Port_6.rrd | grep > > last_ds" told me: > > ds[1].last_ds = "484743" > > ds[2].last_ds = "1754543" > > > > So it's ok. > > > > But when I create my weathermap with a bandthwith of 1M for these > > link, I get 0,0% (if I put 1K, I get 0,8% and 3,2%). > > > > I think there is a problem of units but didn't find the way to solve it. > > Could you help to tell me what's wrong with my map conf? > > > > Thank you, > > > > Gauthier > > > > P: Below is my map conf: > > > > # regular NODES: > > NODE Baie21 > > LABEL Baie21 > > POSITION 649 242 > > > > NODE Internet > > LABEL Internet > > POSITION 360 240 > > > > # regular LINKs: > > LINK Baie21-Internet > > BANDWIDTH 1K > > TARGET rrds/Switch-21/Bandwidth_FW_0_1_Port_6.rrd:1:2 > > NODES Internet Baie21 > > > > > > -- > > Gauthier DOUCHET > > -- Gauthier DOUCHET
- Follow-Ups:
- Re: [php-weathermap] Units problem with PNP Nagios
- From: Howard Jones
- Re: [php-weathermap] Units problem with PNP Nagios
- References:
- Units problem with PNP Nagios
- From: Gauthier DOUCHET
- Re: [php-weathermap] Units problem with PNP Nagios
- From: Howard Jones
- Units problem with PNP Nagios
- Prev by Date: Re: [php-weathermap] Units problem with PNP Nagios
- Next by Date: Re: [php-weathermap] Units problem with PNP Nagios
- Previous by thread: Re: [php-weathermap] Units problem with PNP Nagios
- Next by thread: Re: [php-weathermap] Units problem with PNP Nagios
- Index(es):