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/03/20 22:12]
darron [Telegraph (cpu.xml)]
projects:telegraph [2018/11/08 00:33]
darron
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>
  
Line 64: Line 64:
 stored within it. stored within it.
  
-The demo can be seen [[http://london.omweb.org/|here]].+The demo can be seen [[http://london.c2n.uk/|here]].