Nagios::Plugin::OverHTTP::Formatter::Nagios::Auto - Detect installed Nagios


Nagios-Plugin-OverHTTP documentation  | view source Contained in the Nagios-Plugin-OverHTTP distribution.

Index


NAME

Top

Nagios::Plugin::OverHTTP::Formatter::Nagios::Auto - Detect installed Nagios version and format accordingly

VERSION

Top

This documentation refers to Nagios::Plugin::OverHTTP::Formatter::Nagios::Auto version 0.14

SYNOPSIS

Top

  #TODO: Write this

DESCRIPTION

Top

This formatter for Nagios::Plugin::OverHTTP will attempt to detect the installed Nagios version and load the appropriate formatter for the version.

CONSTRUCTOR

Top

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.

new

This will construct a new plugin object.

new(%attributes)

%attributes is a HASH where the keys are attributes (specified in the ATTRIBUTES section).

new($attributes)

$attributes is a HASHREF where the keys are attributes (specified in the ATTRIBUTES section).

ATTRIBUTES

Top

  # Set an attribute
  $object->attribute_name($new_value);

  # Get an attribute
  my $value = $object->attribute_name;

response

Required. This is the Nagios::Plugin::OverHTTP::Response object to format.

METHODS

Top

parse

This takes a HTTP::Response object and parses it and will return a Nagios::Plugin::OverHTTP::Response object.

DIAGNOSTICS

Top

Status header %s is in valid

The status header that was provided did not contain any known status format.

DEPENDENCIES

Top

This module is dependent on the following modules:

* Carp
* English
* Env::Path 0.04
* IPC::System::Simple 0.13
* Readonly 1.03
* Regexp::Common 2.119
* Try::Tiny
* namespace::clean 0.04

AUTHOR

Top

Douglas Christopher Wilson, <doug at somethingdoug.com>

BUGS AND LIMITATIONS

Top

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.

LICENSE AND COPYRIGHT

Top


Nagios-Plugin-OverHTTP documentation  | view source Contained in the Nagios-Plugin-OverHTTP distribution.