Executing
./check_json -u http://example.com -a '{"success"}' --expect '1'
where example.com returns
would fail with
Not an ARRAY reference at /usr/share/perl5/Monitoring/Plugin/Threshold.pm line 19.
I added a hack in my fork that makes it work but it's not very pretty C0rn3j@a19e7aa
Executing
where example.com returns
would fail with
I added a hack in my fork that makes it work but it's not very pretty C0rn3j@a19e7aa