Random Project

Not working at all from command line

Installed procinfo, then:

$./check_cpu -c 90 -w 80
./check_cpu: 11: ./check_cpu: function: not found
-e
This plugin shows the % of used CPU, using either procinfo or sar (whichever is available)

./check_cpu:
-c If the % of used CPU is above , returns CRITICAL state
-w If the % of used CPU is below CRITICAL and above , returns WARNING state