check_json icon indicating copy to clipboard operation
check_json copied to clipboard

Nagios plugin to check JSON attributes via http(s)

Results 20 check_json issues
Sort by recently updated
recently updated
newest added

Please can you add Bearer token support again?

Executing ``` ./check_json -u http://example.com -a '{"success"}' --expect '1' ``` where example.com returns ``` {"success":true} ``` would fail with ``` Not an ARRAY reference at /usr/share/perl5/Monitoring/Plugin/Threshold.pm line 19. ``` I...

Hello, looks like i'm really stupid because all i get is "no value received" or a "Check JSON status API OK" but no values at all.... This is a JSON...

When having multiple records like: { "from": "0.050", "error": false, "test": { "test01": { "alive": true, "value": 147.43, "rate_below_threshold": false, "last_time": "Mon, 03 Jul 2017 11:31:46 GMT" } } }...

I have the same problem than #25 and found out that Nagios::Plugin is not supported: https://metacpan.org/pod/Nagios::Plugin Use Nagios::Monitoring::Plugin or Monitoring::Plugin

Currently, specifying perf or output vars only works for top-level or simple fields within JSON. It doesn't work with more complicated node trees, e.g. "{main_node}[0]->{secondary_node}[4]->{final_node}". This change fixes this issue...

I am checking a value nested in an array (eg. the same thing that was broken and later fixed in issue #21 ) and the checking itself, complete with thresholds...