Advertisement
egrueda

storage.conf

Mar 1st, 2019
2,078
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static.10.name=storage1_total
  2. static.10.source=df -t ext4
  3. static.10.regexp=sda1\s+(\d+)
  4. static.10.postprocess=$1/1024
  5.  
  6. dynamic.14.name=storage1_used
  7. dynamic.14.source=df -t ext4
  8. dynamic.14.regexp=sda1\s+\d+\s+(\d+)
  9. dynamic.14.postprocess=$1/1024
  10. dynamic.14.rrd=GAUGE
  11.  
  12. web.status.1.content.9.name=Storage
  13. web.status.1.content.9.icon=usb_hdd.png
  14. web.status.1.content.9.line.1="<b>USB Disk</b> Used: <b>"+KMG(data.storage1_used,'M')+"</b> (<b>"+Percent(data.storage1_used,data.storage1_total,'M')+"</b>) Free: <b>"+KMG(data.storage1_total-data.storage1_used,'M')+ "</b> Total: <b>"+ KMG(data.storage1_total,'M') +"</b>"
  15. web.status.1.content.9.line.2=ProgressBar(data.storage1_used,data.storage1_total)
  16.  
  17. web.statistics.1.content.9.name=Storage1
  18. web.statistics.1.content.9.graph.1=storage1_total
  19. web.statistics.1.content.9.graph.2=storage1_used
  20. web.statistics.1.content.9.ds_graph_options.storage1_total.label=Storage1 total space (MB)
  21. web.statistics.1.content.9.ds_graph_options.storage1_total.color="#FF7777"
  22. web.statistics.1.content.9.ds_graph_options.storage1_used.label=Storage1 used space (MB)
  23. web.statistics.1.content.9.ds_graph_options.storage1_used.lines={ fill: true }
  24. web.statistics.1.content.9.ds_graph_options.storage1_used.color="#7777FF"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement