Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Added performance data and warning/critical params #46

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

rogerniesten
Copy link

I've added performance data to this check (response times) and warning/critical thresholds.
In order to use the -w and -c params (according to development guidelines https://nagios-plugins.org/doc/guidelines.html) , I had to change the param (-w) for "writetest" to uppercase.

Because the loop (incl surrounding statements) to verify when the process ends became a bit larger (and this functionality was used twice), I've wrapped it in a separate function.

I hope you like this addition and will pull it into your repo :-)

@moschlar
Copy link

Wow, this looks great!

@echocat any chance of you merging this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants