linux_wiki:xymon_cpu_load_threshold_calc

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
linux_wiki:xymon_cpu_load_threshold_calc [2016/11/27 00:10]
billdozor [Client side]
linux_wiki:xymon_cpu_load_threshold_calc [2017/01/09 15:32]
billdozor [The Script]
Line 27: Line 27:
 ---- ----
  
-===== Server side =====+===== Xymon Server side =====
  
   - Install the 'bc' package (allows bash string to floating point number conversion)   - Install the 'bc' package (allows bash string to floating point number conversion)
Line 133: Line 133:
   node_name=${1}   node_name=${1}
  
-  # Lie to Xymon that the node's cpu is yellow, forcing a hostdata snapshot+  # Lie to Xymon that the node's cpu is green, then yellow, forcing a hostdata snapshot 
 +  xymon 127.0.0.1 "status ${node_name}.cpu green $(date)"
   xymon 127.0.0.1 "status ${node_name}.cpu yellow $(date)"   xymon 127.0.0.1 "status ${node_name}.cpu yellow $(date)"
 } }
  • linux_wiki/xymon_cpu_load_threshold_calc.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)