Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
projects:telegraph [2018/07/23 12:29]
127.0.0.1 external edit
projects:telegraph [2018/11/08 00:35]
darron [World wide web]
Line 47: Line 47:
  <graph title="CPU Temp" label="C" />  <graph title="CPU Temp" label="C" />
  <database type="rrd" filename="/var/lib/rrd/cpu.rrd" />  <database type="rrd" filename="/var/lib/rrd/cpu.rrd" />
- <query source="0" name="cpu" host="X.X.X.X" community="public" miboid="cpu" />+ <query source="0" name="cpu" host="X.X.X.X" community="public" extend="cpu" />
 </telegraph> </telegraph>
 </code> </code>
Line 55: Line 55:
 A CRON job will run every 5 minutes to update the RRD. A CRON job will run every 5 minutes to update the RRD.
 <code> <code>
-*/5 * * * * /usr/local/bin/telegraph /usr/local/etc/cpu.xml+*/5 * * * * /usr/local/bin/telegraph /etc/telegraph/cpu.xml
 </code> </code>
  
 === World wide web === === World wide web ===
  
-Example scripts exist in the demo directory of the project which +Example configuration exists in the demo directory of the project which 
-demonstrate how the RRD is queried to produce a graph of the values +is used to demonstrate its operation.
-stored within it.+
  
-The demo can be seen [[http://london.c2n.uk/|here]].+One demo can be seen [[http://london.c2n.uk/|here]].