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:11]
darron [Telegraph (cpu.xml)]
projects:telegraph [2018/11/08 00:33]
darron
Line 45: Line 45:
 <?xml version="1.0"?> <?xml version="1.0"?>
 <telegraph> <telegraph>
- <database type="rrd" filename="/var/lib/rrd/cpu.rrd" init="1" title"CPU Temp" label="C" /> + <graph title="CPU Temp" label="C" /> 
- <query source="0" name="cpu" host="X.X.X.X" community="public" miboid="cpu" />+ <database type="rrd" filename="/var/lib/rrd/cpu.rrd" /> 
 + <query source="0" name="cpu" host="X.X.X.X" community="public" extend="cpu" />
 </telegraph> </telegraph>
 </code> </code>
Line 54: 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 63: 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]].