Nagios::Plugin::OverHTTP::Formatter::Nagios::Auto - Detect installed Nagios version and format accordingly
This documentation refers to Nagios::Plugin::OverHTTP::Formatter::Nagios::Auto version 0.16
#TODO: Write this
This formatter for Nagios::Plugin::OverHTTP will attempt to detect the installed Nagios version and load the appropriate formatter for the version.
This is fully object-oriented, and as such before any method can be used, the constructor needs to be called to create an object to work with.
This will construct a new plugin object.
%attributes is a HASH where the keys are attributes (specified in the "ATTRIBUTES" section).
%attributes
$attributes is a HASHREF where the keys are attributes (specified in the "ATTRIBUTES" section).
$attributes
# Set an attribute $object->attribute_name($new_value); # Get an attribute my $value = $object->attribute_name;
Required. This is the Nagios::Plugin::OverHTTP::Response object to format.
This takes a HTTP::Response object and parses it and will return a Nagios::Plugin::OverHTTP::Response object.
Status header %s is in valid
The status header that was provided did not contain any known status format.
This module is dependent on the following modules:
Carp
Const::Fast
English
Env::Path 0.04
IPC::System::Simple 0.13
Regexp::Common 2.119
Try::Tiny
namespace::clean 0.04
Douglas Christopher Wilson, <doug at somethingdoug.com>
<doug at somethingdoug.com>
Please report any bugs or feature requests to bug-nagios-plugin-overhttp at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Nagios-Plugin-OverHTTP. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-nagios-plugin-overhttp at rt.cpan.org
Copyright 2010-2012 Douglas Christopher Wilson, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of either:
the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
the Artistic License version 2.0.
To install Nagios::Plugin::OverHTTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nagios::Plugin::OverHTTP
CPAN shell
perl -MCPAN -e shell install Nagios::Plugin::OverHTTP
For more information on module installation, please visit the detailed CPAN module installation guide.