[rrd-users] How to find a grafics error?

2015-06-10 Thread Peter A . Menzel
Hello,

  my cgi output for the monthly periode seems to have errors (in detail: see 
attached image).
  As you can see on http://hk1.famenzel.at/cgi/hk1.cgi the output for the last 
week ("letzte Woche") is ok (continued graphs for the temperatures), but shown 
interrupted in the monthly graph ("letzter Monat").
  Also the pump indicators ("HK1Pumpe", "HK3Pumpe" aso) show some activity in 
this graph and the yearly one ("letztes Jahr"). This seems to be wrong too.

  How can I find the source of the problem?

  Thank you and BR
  Peter
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


[rrd-users] WG: How to find a grafics error?

2015-06-10 Thread Peter A . Menzel
Hi Simon,
  thank you for the immediate response!
  Well, now the link shall work - i have opened my firewall ;-)

  I also attached the graphs created (rejected by the list admin because of 
mail size, so look at the web site http://hk1.famenzel.at/cgi/hk1.cgi 
<http://hk1.famenzel.at/cgi/hk1.cgi>).
  Here is the setup script:

  rrdtool create AgroFire.rrd --step 1 \
   DS:KesselTemp:GAUGE:2:U:U \
   DS:KesselTempSOLL:GAUGE:2:U:U \
   DS:RLTemp:GAUGE:2:U:U \
   DS:RauchTemp:GAUGE:2:U:U \
   DS:AussenTemp:GAUGE:2:U:U \
   DS:HK1VLTemp:GAUGE:2:U:U \
   DS:HK1VLTempSOLL:GAUGE:2:U:U \
   DS:HK1BoilerTemp:GAUGE:2:U:U \
   DS:HK3VLTemp:GAUGE:2:U:U \
   DS:HK3VLTempSOLL:GAUGE:2:U:U \
   DS:HK3BoilerTemp:GAUGE:2:U:U \
   DS:HK1Pumpe:GAUGE:2:U:U \
   DS:HK1BoilerPumpe:GAUGE:2:U:U \
   DS:HK3Pumpe:GAUGE:2:U:U \
   DS:HK3BoilerPumpe:GAUGE:2:U:U \
   DS:FernleitungsPumpe:GAUGE:2:U:U \
   DS:Reserve1:GAUGE:2:U:U \
   DS:Reserve2:GAUGE:2:U:U \
   DS:Reserve3:GAUGE:2:U:U \
   DS:Reserve4:GAUGE:2:U:U \
   DS:Reserve5:GAUGE:2:U:U \
   DS:Reserve6:GAUGE:2:U:U \
   DS:Reserve7:GAUGE:2:U:U \
   RRA:AVERAGE:0.5:1:864000 \
   RRA:AVERAGE:0.5:60:527040 \
   RRA:AVERAGE:0.5:3600:87840 \
   RRA:AVERAGE:0.5:86400:3660 \
   RRA:MAX:0.5:1:864000 \
   RRA:MAX:0.5:60:527040 \
   RRA:MAX:0.5:3600:87840 \
   RRA:MAX:0.5:86400:3660 \
   RRA:MIN:0.5:1:864000 \
   RRA:MIN:0.5:60:527040 \
   RRA:MIN:0.5:3600:87840 \
   RRA:MIN:0.5:86400:3660 \
   RRA:LAST:0.5:1:864000 \
   RRA:LAST:0.5:60:527040 \
   RRA:LAST:0.5:3600:87840 \
   RRA:LAST:0.5:86400:3660

  The values are written with this
  CommandString=  rrdupdate /path/AgroFire.rrd 
1433965266:20:0:20:25:23.8:25.9:0.0:72:25.3:0.0:70:0:0:5:0:1024:0:0:0:0:113:61134:7
  every second to the RRD.

  I have also attached the cgi-script:
  Hence the graphs are all generated the same way I wonder why the once for the 
month and the year show this errors.
  I guess the data are ok because the daily and weekly graphs are ok.

  Thank you for any hint on this problem.

  BR Peter
   
Simon Hobson schrieb:
 >  Peter A. Menzel  wrote:
>    > my cgi output for the monthly periode seems to have errors
> (in detail:
>> see attached image).
>>  As you can see on http://hk1.famenzel.at/cgi/hk1.cgi <http://hk1.
>> famenzel.at/cgi/hk1.cgi> the output for the last week ("letzte
>> Woche") is ok (continued graphs for the temperatures), but shown
>> interrupted in the monthly graph ("letzter Monat").
>>  Also the pump indicators ("HK1Pumpe", "HK3Pumpe"
>> aso) show some activity in this graph and the yearly one ("
> letztes
>> Jahr"). This seems to be wrong too.
>>
>>  How can I find the source of the problem?
>  You'll need to provide a lot more information - at the moment it&#
> 39;s "I create a graph using an unknown script/command, using
> unknown data, and 'it doesn't work'".
>
>  A first step would be to show what commands you used to create the RRD 
> files and the graphs, plus a sample of the data going in.
>
>  Your graph in the email (the link doesn't work for me) has breaks
> in it - that can often be as simple as having a heartbeat interval that&#
> 39;s too short so you get a lot of "unknown" data.
>
>  ___
>  rrd-users mailing list
>  rrd-users@lists.oetiker.ch
>  https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>   


hk1.cgi
Description: hk1.cgi
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Re: [rrd-users] How to find a grafics error?

2015-06-14 Thread Peter A . Menzel
Hi Simon and David,
  thank you for your hints!
  I actually found some missing update values - that means not every second a 
new set of values.

  Now I intent to tune the heartbeat value to 5 instead of 2,
  and step size of 1 remaining constant...
  So missing 1, 2 or 3 measures will not generate an *unknown* value in the RRD.

  Do you think that is the right way?

  Thank you and BR
  Peter
   
Simon Hobson schrieb:
 >  Peter A. Menzel  wrote:
>    > Here is the setup script:
>>
>>  rrdtool create AgroFire.rrd --step 1 \
>>  DS:KesselTemp:GAUGE:2:U:U \
>>  ...
>>  RRA:AVERAGE:0.5:1:864000 \
>  Can you be certain that you provide an update *every* second ?
>  You have a step size of 1, and a heartbeat value of 2. That means that 
> you can only have data 2 seconds old before it is considered unknown.
> What isn't clear is which side of the point the decision is taken as
> the manual says : > heartbeat defines the maximum number of seconds
> that may pass between
>> two updates of this data source before the value of the data source is 
>> assumed to be *UNKNOWN*.
>  Eg, if you miss an update at time t=1 having done one at time t=0, does
> the value become unknown at time t=2 or *after* time t=2. The difference
> is that if you miss just one update, then in the former condition, when 
> you come to do the update at time t=2, the data from time t=0 to time
> t=2 will be marked as unknown; but if it's the latter then the data
> wouldn't become unknown unless you also miss an update at time t=2.
>
>  So firstly I would be checking to see that you are reliably doing an
> update every second and not creating a few unknown values. You might
> consider increasing the heartbeat value.
>
>  You have specified an xff value of 0.5, so you would regard a
> consolidation as unknown if 50% of the source values are unknown. Since 
> missing one update could be marking 2 seconds worth (ie 2 primary steps)
> as unknown, then missing an average of one update every 4 seconds would 
> result in missing consolidated data.
>
>  ___
>  rrd-users mailing list
>  rrd-users@lists.oetiker.ch
>  https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>   
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users