My rrd is not updating

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ste81
Posts: 8
Joined: Fri Apr 21, 2006 9:23 am
Location: Milan, Italy
Contact:

My rrd is not updating

Post by ste81 »

Hello all,

i've created a data template for cisco backplane utilization. I've noticed that graph contains no data so I've done some debug. I'm using latest version of cacti with cactid as poller.

rrdtool info miotfe1cs1_backplane_util_109.rrd
filename = "miotfe1cs1_backplane_util_109.rrd"
rrd_version = "0001"
step = 300
last_update = 1145629501
ds[backplane_util].type = "GAUGE"
ds[backplane_util].minimal_heartbeat = 600
ds[backplane_util].min = 0.0000000000e+00
ds[backplane_util].max = 1.0000000000e+02
ds[backplane_util].last_ds = "UNKN"
ds[backplane_util].value = 0.0000000000e+00
ds[backplane_util].unknown_sec = 1
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 5
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 5
rra[3].cf = "AVERAGE"
rra[3].rows = 797

Polling manually oid i get value = 0.

RRD Database was created in this way:

/usr/bin/rrdtool create \
/opt/cacti_new/rra/miotfe1cs1_backplane_util_109.rrd \
--step 300 \
DS:backplane_util:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \

But...what's wrong???

Thanks
Ste
http://www.stefanocislaghi.it/
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The MAXIMUM value may be wrong (=100). Delete your old rrd file, change the Data Template MAXIMUM to 0 (means: suppress maximum) and re-create the rrd file.
Reinhard
ste81
Posts: 8
Joined: Fri Apr 21, 2006 9:23 am
Location: Milan, Italy
Contact:

Maximun value wrong

Post by ste81 »

lvm wrote:The MAXIMUM value may be wrong (=100). Delete your old rrd file, change the Data Template MAXIMUM to 0 (means: suppress maximum) and re-create the rrd file.
Reinhard
Ok, but why? I retrieve a percent value, so min should be 0 and max should be 100. Why 100 is not good for my RRD database?

thanks
Ste
Ste
http://www.stefanocislaghi.it/
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Maximun value wrong

Post by gandalf »

ste81 wrote:
lvm wrote:The MAXIMUM value may be wrong (=100). Delete your old rrd file, change the Data Template MAXIMUM to 0 (means: suppress maximum) and re-create the rrd file.
Reinhard
Ok, but why? I retrieve a percent value, so min should be 0 and max should be 100. Why 100 is not good for my RRD database?

thanks
Ste
I did not realize that you're going to display percentages. For this, 100 should be good. Please switch Settings -> Logging Level to DEBUG and wait for ONE polling cycle. Reset the logging level and search for your host/query in cacti.log to see, what the query returns. Please post your findings (if using cactid, you may simply poll the relevant host, giving cactid --verbosity 5 <host#> <host#>, where <host#> ist the numeric value of the host, see the URL when editing this host)
Reinhard
ste81
Posts: 8
Joined: Fri Apr 21, 2006 9:23 am
Location: Milan, Italy
Contact:

Re: Maximun value wrong

Post by ste81 »

lvm wrote:
ste81 wrote:
lvm wrote:The MAXIMUM value may be wrong (=100). Delete your old rrd file, change the Data Template MAXIMUM to 0 (means: suppress maximum) and re-create the rrd file.
Reinhard
Ok, but why? I retrieve a percent value, so min should be 0 and max should be 100. Why 100 is not good for my RRD database?

thanks
Ste
I did not realize that you're going to display percentages. For this, 100 should be good. Please switch Settings -> Logging Level to DEBUG and wait for ONE polling cycle. Reset the logging level and search for your host/query in cacti.log to see, what the query returns. Please post your findings (if using cactid, you may simply poll the relevant host, giving cactid --verbosity 5 <host#> <host#>, where <host#> ist the numeric value of the host, see the URL when editing this host)
Reinhard
Hi,

so, manual polling with cactid don't produce anything. I only get:

CACTID:

Debug on data source is:

/usr/bin/rrdtool create \
/opt/cacti_new/rra/backplane_util_109.rrd \
--step 300 \
DS:backplane_util:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \

But always NaN value ...

Ste
Ste
http://www.stefanocislaghi.it/
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Maximun value wrong

Post by gandalf »

ste81 wrote:so, manual polling with cactid don't produce anything. I only get:

CACTID:
Debug of data source is not necessary. Then please run
1. cactid without any parms
2. cactid --verbosity=5
and tell us about your findings
Reinhard
ste81
Posts: 8
Joined: Fri Apr 21, 2006 9:23 am
Location: Milan, Italy
Contact:

Re: Maximun value wrong [SOLVED]

Post by ste81 »

lvm wrote:
ste81 wrote:so, manual polling with cactid don't produce anything. I only get:

CACTID:
Debug of data source is not necessary. Then please run
1. cactid without any parms
2. cactid --verbosity=5
and tell us about your findings
Reinhard
Solved, was a problem in the oid.

Thanks
Ste
Ste
http://www.stefanocislaghi.it/
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests