vint21h / nagios-check-supervisord Goto Github PK
View Code? Open in Web Editor NEWCheck supervisord programs status Nagios plugin
Home Page: https://github.com/vint21h/nagios-check-supervisord
License: GNU General Public License v3.0
Check supervisord programs status Nagios plugin
Home Page: https://github.com/vint21h/nagios-check-supervisord
License: GNU General Public License v3.0
If no supervisord programs are defined, currently the script will exit with the UNKOWN exit code. I believe it may be useful to set the desired --no-progams-defined-status via an argument. In some cases it may be desirable to raise a WARNING or CRITICAL, in other cases it may be expected and thus should result in OK state.
If a program is "starting", currently the script will exit with a WARNING exit code. In most cases it may be desirable to accept a "starting" program as normal behaviour. Example:
WARNING: something curiously with 'example-api-client_01': (STARTING), 'example-api-client_00': OK, 'example-api-default_00': OK, 'example-api-default_01': OK, 'example-api-default_02': OK, 'example-api-high_00': OK, 'example-api-high_01': OK
Would it be possible to add an option for --starting-state-exit-code
, in a similar fashion to --stopped-state-exit-code
?
Hi,
Although we can patch it, we would love an option to return state critical when the connection is refused or timed out:
check_supervisord.py -s 127.0.0.1 -p 9001
ERROR: Server communication problem. [Errno 111] Connection refused
echo $?
3
Would be great if it was 2 instead of 3.
Unknown is not bad enough for us, on critical we take special actions, that is why. We saw other nagios checks supplying similar functionality trough a parameter.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.