Sometimes the API omits fields.

This prevents such an error:

  Use of uninitialized value value in sprintf at /etc/icinga-plugins/plugins/check_rabbitmq_queue line 146.
Merge pull request #23 from kivikakk/api-sometimes-omits-data

Sometimes the API omits fields.
Fix incorrect watermark CRITICAL due to new JSON version

The newly released version 2.90 of JSON.pm on CPAN means that
check_rabbitmq_watermark will go CRITICAL on both "mem_alarm" and "disk_alarm".

This is due to the fact that a submodule used by JSON.pm has broken
compatibility with the feature that allowed comparisons of JSON booleans to
'true' and 'false' in Perl:

    http://search.cpan.org/~makamaka/JSON/lib/JSON.pm#DESCRIPTION

Copy & paste of the warning from JSON.pm's release notes:

>
>   INCOMPATIBLE CHANGE (JSON::XS version 2.90)
>
>   JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally
>   on loading time for making these modules inherit JSON::Boolean.
>   But since JSON::XS v3.0 it use Types::Serialiser as boolean class.
>   Then now JSON.pm breaks boolean classe overload features and
>   -support_by_pp if JSON::XS v3.0 or later is installed.
>
>   JSON::true and JSON::false returned JSON::Boolean objects.
>   For workaround, they return JSON::PP::Boolean objects in this version.
>
>       isa_ok(JSON::true, 'JSON::PP::Boolean');
>
>   And it discards a feature:
>
>       ok(JSON::true eq 'true');
>
>   In other word, JSON::PP::Boolean overload numeric only.
>
>       ok( JSON::true == 1 );
Fixed typo/copy-paste-error "warning"->critical

in the help text.
Merge pull request #28 from jimmystridh/patch-1

Fixed typo/copy-paste-error "warning"->critical.

Thanks for the patch !
Merge pull request #25 from martinmelin/fix-watermark-check-broken-by-json-update

Fix incorrect watermark CRITICAL due to new JSON version.

thanks for the patch!
* Makefile: improve 'clean' target to remove _build/ META.json and META.yml
* Makefile: add 'install' target to ease Debian packaging
* Build.PL: define 'module_name' to prevent Debian packaging from issuing a
  warning
Add Nagios plugins configuration: etc/nagios-plugins/config/*.cfg
Add NRPE configuration: etc/nagios/nrpe.d/*.cfg
* etc/nagios/nrpe.d/check_rabbitmq_queue.cfg: add mandatory queue name as argument
* etc/nagios-plugins/config/check_rabbitmq_queue.cfg: add mandatory queue name as argument
Merge pull request #33 from cyril-bouthors/master

Debian packaging
add check_script for monitoring connections
Merge pull request #34 from mklette/master

add check_script for monitoring connections
Fixed improper paths in nagios commands.
Merge pull request #35 from slawekp/master

Fixed improper paths in nagios commands.
update for 2.0.0