Hi Kurta,
The best debug is on lines 57 & 64 of api.rrdtool.inc.php
To be sure its not a polling time problem, run this
what -n5 'php -q poller.php <host_id> <interface_id>'
That will run the poller for a specific host and interface every 5 seconds.
Then compare that graph or fetch output to the others, if this is full, then you have a problem in your box that is not allowing the poller to poll every 5 minutes all the time.
Javier
Kurta L�szl� wrote:
Hi Javier,
I still suffering with this strange RRD problem :(
I have modified the original rrd backend (rrd_update neighborhood) code with some debugging code to be able to see, what's happening.
My inserted values are numerics, so, the rrd_update runs succesfully.
You see in the outputs the last_update changes, and in the current periods there are no data!
(Before the nan values my pollers returned with static 100000's.)
Why???
How can I find the problem, where sould I insert some useful debugs to see where the datas are lost?
Qrta
1st time: [EMAIL PROTECTED]:/opt/jffnms/engine$ rrdtool info ../rrd/interface-114-1.rrd filename = "../rrd/interface-114-1.rrd" rrd_version = "0001" step = 300 last_update = 1108636536 ds[data].type = "GAUGE" ds[data].minimal_heartbeat = 600 ds[data].min = 0.0000000000e+00 ds[data].max = 1.9356780000e+06 ds[data].last_ds = "UNKN" ds[data].value = 0.0000000000e+00 ds[data].unknown_sec = 36 rra[0].cf = "AVERAGE" rra[0].rows = 103680 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
2nd time: [EMAIL PROTECTED]:/opt/jffnms/engine$ rrdtool info ../rrd/interface-114-1.rrd filename = "../rrd/interface-114-1.rrd" rrd_version = "0001" step = 300 last_update = 1108636836 ds[data].type = "GAUGE" ds[data].minimal_heartbeat = 600 ds[data].min = 0.0000000000e+00 ds[data].max = 1.9356780000e+06 ds[data].last_ds = "UNKN" ds[data].value = 0.0000000000e+00 ds[data].unknown_sec = 36 rra[0].cf = "AVERAGE" rra[0].rows = 103680 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 [EMAIL PROTECTED]:/opt/jffnms/engine$
[EMAIL PROTECTED]:/opt/jffnms/engine$ rrdtool fetch ../rrd/interface-114-1.rrd AVERAGE -r 600 -s -1h
data
1108633500: nan 1108633800: nan 1108634100: nan 1108634400: nan 1108634700: 1.0000000000e+05 1108635000: 1.0000000000e+05 1108635300: 1.0000000000e+05 1108635600: 1.0000000000e+05 1108635900: 1.0000000000e+05 1108636200: nan 1108636500: nan 1108636800: nan 1108637100: nan 1108637400: nan
Javier Szyszlican wrote:
Reading your poller output, the code seems ok.
The problem is with your RRDs.
The only way to get NaN, if its no data (or no valid data) in the period of time.
Javier
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you can, please donate at http://jffnms.org/donate
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
