Advertisement
Stybyk

AllCPU

May 9th, 2019
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.29 KB | None | 0 0
  1. dynamic.17.name=core_1
  2. dynamic.17.source=CPU.py
  3. dynamic.17.regexp={'cpu1':\s+(\d+.\d+),\s+'cpu2':\s+(\d+.\d+),\s+'cpu3':\s+(\d+.\d+),\s+'cpu0':\s+(\d+.\d+)
  4. dynamic.17.postprocess=$1/1
  5. dynamic.17.rrd=GAUGE
  6.  
  7. dynamic.18.name=core_2
  8. dynamic.18.source=CPU.py
  9. dynamic.18.regexp={'cpu1':\s+(\d+.\d+),\s+'cpu2':\s+(\d+.\d+),\s+'cpu3':\s+(\d+.\d+),\s+'cpu0':\s+(\d+.\d+)
  10. dynamic.18.postprocess=$2/1
  11. dynamic.18.rrd=GAUGE
  12.  
  13. dynamic.19.name=core_3
  14. dynamic.19.source=CPU.py
  15. dynamic.19.regexp={'cpu1':\s+(\d+.\d+),\s+'cpu2':\s+(\d+.\d+),\s+'cpu3':\s+(\d+.\d+),\s+'cpu0':\s+(\d+.\d+)
  16. dynamic.19.postprocess=$3/1
  17. dynamic.19.rrd=GAUGE
  18.  
  19. dynamic.20.name=core_4
  20. dynamic.20.source=CPU.py
  21. dynamic.20.regexp={'cpu1':\s+(\d+.\d+),\s+'cpu2':\s+(\d+.\d+),\s+'cpu3':\s+(\d+.\d+),\s+'cpu0':\s+(\d+.\d+)
  22. dynamic.20.postprocess=$4/1
  23. dynamic.20.rrd=GAUGE
  24.  
  25. web.statistics.1.content.9.name=CPU
  26. web.statistics.1.content.9.graph.1=core_1
  27. web.statistics.1.content.9.ds_graph_options.core_1.label=core_1
  28.  
  29. web.statistics.1.content.9.graph.2=core_2
  30. web.statistics.1.content.9.ds_graph_options.core_2.label=core_2
  31.  
  32. web.statistics.1.content.9.graph.3=core_3
  33. web.statistics.1.content.9.ds_graph_options.core_3.label=core_3
  34.  
  35. web.statistics.1.content.9.graph.4=core_4
  36. web.statistics.1.content.9.ds_graph_options.core_4.label=core_4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement