rrdcollect.conf 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. step = 360
  2. directory = /var/lib/rrdcollect/rrd
  3. file:///proc/stat
  4. "cpu0 %d %d %d %d" SYS.rrd:cu,cn,cs,ci
  5. "ctxt %u" SYS.rrd:ct
  6. "processes %u" SYS.rrd:fk
  7. "intr %u" SYS.rrd:ira
  8. file:///proc/meminfo
  9. #"Mem: %*d %d %d %d %d %d" SYS.rrd:mu,mf,ms,mb,mc
  10. "Mem: %*d %d %d %*d %d %d" SYS.rrd:mu,mf,mb,mc
  11. file:///proc/loadavg
  12. "%f %f %f %d/%d %*d" SYS.rrd:l1,l2,l3,pr,pt
  13. exec:///bin/df
  14. "/dev/mtdblock/4 %*d %d %d" SYS.rrd:us,av
  15. # LAN: vlan0, WAN: vlan1, WIFI: eth1
  16. file:///proc/net/dev
  17. " vlan0:%d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:Labi,Lapi,Labo,Lapo
  18. " vlan1:%d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:Wabi,Wapi,Wabo,Wapo
  19. " eth1:%d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:Wibi,Wipi,Wibo,Wipo
  20. #" tun0:%d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:tbi,tpi,tbo,tpo
  21. file:///proc/slabinfo
  22. "ip_conntrack %d %*d %*d %*d %*d %*d" SYS.rrd:con
  23. "arp_cache %d %*d %*d %*d %*d %*d" SYS.rrd:arp
  24. file:///proc/interrupts
  25. " 4: %d MIPS eth1" SYS.rrd:irw
  26. " 5: %d MIPS eth0" SYS.rrd:ire