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

2015-06-10 Thread Simon Hobson
Peter A. Menzel prot_from_s...@famenzel.at 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 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'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'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


[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] OpenWrt + Collectd + RRDTool

2015-06-10 Thread Aizad Fauzi
Hi,

I've installed these three components and my graph is working perfectly.
I create a symlink of the PNG to the root of my www folder so that I can
easily view the graph directly.
However, in order for the graph to be updated, I need to log-on to the
router and view from there in order to refresh the graph.

Are there any tricks that can make the graph automatically update by
running some command to setup as crontab?

Thanks.

-- 
Regards,
Aizad
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Re: [rrd-users] OpenWrt + Collectd + RRDTool

2015-06-10 Thread Simon Hobson
Aizad Fauzi red...@gmail.com wrote:

 I've installed these three components and my graph is working perfectly.
 I create a symlink of the PNG to the root of my www folder so that I can 
 easily view the graph directly.
 However, in order for the graph to be updated, I need to log-on to the router 
 and view from there in order to refresh the graph.
 
 Are there any tricks that can make the graph automatically update by running 
 some command to setup as crontab?

How are you generating the graph ? How are you viewing them when you log in to 
the router ?

There are two ways to do it - create graphs periodically in case you want to 
view them, or create them on demand.

The first of these means using some tool (eg cron) to run commands to generate 
the graphs periodically. The downside of this is that you expend resources 
generating graphs that you will most likely never look at.

The alternative is to trigger graph creation when you want to view it - 
typically by CGI scripts on the server.

I suspect that when you log onto the router (presumably via it's web UI) and 
view the graph, that's triggering a CGI script that generates the graph there 
and then - if you right click on the graph image and open in new window/tab, 
what URL do you get ?. This normally also creates an image file which hangs 
around until it gets over-written by the next version. If you statically link 
or view this image file, then it won't update on it's own.
The fix for this is probably to link to the CGI script rather than the static 
image file - that way, when you view it you'll always get an up to date version.

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


Re: [rrd-users] OpenWrt + Collectd + RRDTool

2015-06-10 Thread Aizad Fauzi
I've installed all the necessary files and apps and it works out of the box.
Viewed it from OpenWrt Luci GUI where there is a link to graphs. Whenever
I click on it, I assume it generates a new graph.

The link after I click on the graph is
http://some.domain.com/cgi-bin/luci/;stok=7f89f706f496f584539ee6487065c61b/admin/statistics/graph/interface/
?

How do I find the CGI?

On Wed, Jun 10, 2015 at 5:11 PM, Simon Hobson li...@thehobsons.co.uk
wrote:

 Aizad Fauzi red...@gmail.com wrote:

  I've installed these three components and my graph is working perfectly.
  I create a symlink of the PNG to the root of my www folder so that I can
 easily view the graph directly.
  However, in order for the graph to be updated, I need to log-on to the
 router and view from there in order to refresh the graph.
 
  Are there any tricks that can make the graph automatically update by
 running some command to setup as crontab?

 How are you generating the graph ? How are you viewing them when you log
 in to the router ?

 There are two ways to do it - create graphs periodically in case you want
 to view them, or create them on demand.

 The first of these means using some tool (eg cron) to run commands to
 generate the graphs periodically. The downside of this is that you expend
 resources generating graphs that you will most likely never look at.

 The alternative is to trigger graph creation when you want to view it -
 typically by CGI scripts on the server.

 I suspect that when you log onto the router (presumably via it's web UI)
 and view the graph, that's triggering a CGI script that generates the graph
 there and then - if you right click on the graph image and open in new
 window/tab, what URL do you get ?. This normally also creates an image file
 which hangs around until it gets over-written by the next version. If you
 statically link or view this image file, then it won't update on it's own.
 The fix for this is probably to link to the CGI script rather than the
 static image file - that way, when you view it you'll always get an up to
 date version.

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




-- 
Regards,
Aizad
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users