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

Units problem with PNP Nagios



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

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