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:09]
billdozor [Xymon Cpu Load Threshold Calc]
linux_wiki:xymon_cpu_load_threshold_calc [2017/01/09 15:32]
billdozor [The Script]
Line 21: Line 21:
 Installation instructions. Installation instructions.
  
-===== Client side =====+===== Xymon Client side =====
  
 No client modifications required. No client modifications required.
  
-===== 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 131: 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)