NAME

Nagios::Plugin::OverHTTP::Response - Represents a parsed reponse from the HTTP server

VERSION

This documentation refers to Nagios::Plugin::OverHTTP::Response version 0.16

SYNOPSIS

#TODO: Write this

DESCRIPTION

This module represents a parsed response from the HTTP server with additional methods related to the operation of Nagios::Plugin::OverHTTP.

ATTRIBUTES

message

Required. This is the message (i.e. plugin output) from the plugin that was parsed.

performance_data

This is a string that represents the performance data from the plugin.

response

This is the HTTP::Response object that was parsed.

status

Required. This is the status from the remote plugin.

METHODS

has_performance_data

This will return a Boolean of true if the response had any "performance_data" and false otherwise.

has_response

This will return a Boolean of true if the response had any "response" and false otherwise.

DEPENDENCIES

This module is dependent on the following modules:

AUTHOR

Douglas Christopher Wilson, <doug at somethingdoug.com>

BUGS AND LIMITATIONS

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

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.