NAME

Nagios::Plugin::OverHTTP::Parser - Moose role for output parsers

VERSION

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

SYNOPSIS

package My::Custom::Parser;

use Moose;

with 'Nagios::Plugin::OverHTTP::Parser'; # use the role (required)

# Implement the parser and define
# any required methods

no Moose; # unimport Moose

1;

DESCRIPTION

This module is a Moose role that defines the required API for parsers.

REQUIRED METHODS

parse

This must return a new instance of Nagios::Plugin::OverHTTP::Response. The only argument accepted is a HTTP::Response object.

my $parsed = $parser->parse($http_response);

METHODS

This module has no methods.

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.