Replies: 1 comment
-
Certainly... Step 1: Change the top syntax to always include the CPU load:
Step 2: Change the time to only use a single time:
Step 3: Change the detail syntax to not include the time:
Lastly we change the top-syntax to match the output you wanted:
The double "OK" is due to me using the test client which outputs the return code so in Nagios or similar you will see: If you have client which adds the status you can remove it like so:
If this is not what you are looking for, please reopen this discussion with more details. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way i can get check_cpu to output something like "OK: Cpu usage is xx%". Where xx is the average cpu usage across all cores? Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions