nagios-http-json
nagios-http-json copied to clipboard
A generic plugin for Nagios which checks json values from a given HTTP endpoint against argument specified rules and determines the status and performance data for that service.
If the JSON has a Timestamp value you can check the age/youth with --key_time.
This PR adds the following features: Add verbose flag and function that can be used to enhance output more precisely Before we only had a boolean debug flag, good for...
Hello, is it possible to add a switch to enhance the plugin output with the pprint'ed json object? I know this is already part of the debug switch, but we...
Hello, we have a few cases where the check cant get results, because of unreachability. In this the check returns unknown. We whould like have an option mitigate this to...
We have a status, which contains a key like "last data received (minutes)", i.e. the key string contains round brackets. If i try to address this key, the array-selection mechanism...
Thank you for the great job with this project! It would be nice to have option to use and operators. It would produce critical only if both conditions are met....
Plugins3
Hey @drewkerrigan: Would you mind if this plugin was included in nagios-plugins 3 as a plugins-python/contrib kind of thing? I have some cool ideas in mind to make the next...
The plugin works when multiple keys and their equals lookup values are passed as stdin: ``` $ ./check_http_json.py -H api.example.com -s -p "health.json" -q service1.status,True service2.status,True service3.status,True OK: Status OK....
Hi there and thanks for the plugin, I am struggling to figure out how to use multiple keys and their value lookups in one plugin call using a wildcard operator....
Hello! It seems the check only takes the last comparison into account when multiple key equals are used: This ist OK, while the first test failed: ``` >> ./check_http_json.py -H...