NAME
Nagios::Plugin::OverHTTP::Library - Types library for Nagios::Plugin::OverHTTP
VERSION
This documentation refers to <Nagios::Plugin::OverHTTP::Library> version 0.11
SYNOPSIS
use Nagios::Plugin::OverHTTP::Library qw(URL);
# This will import URL type into your namespace as well as some helpers
# like to_URL and is_URL. See MooseX::Types for more information.
DESCRIPTION
This module provides types for Nagios::Plugin::OverHTTP
METHODS
No methods.
TYPES PROVIDED
Hostname
This specifies a hostname. This is validated using the Data::Validate::Domain library with the is_hostname
function.
Path
This specifies a valid URL path. Currently this is just a string that must begin with a forward slash. A coercion exists that will add a forward slash to the beginning of the string if there is not one.
Status
This specifies a valid Nagios service status code. The status code must be a valid number. This type also provides a coercion from a string. The string is not case-sensitive and may be one of the following values:
OK
WARNING
CRITICAL
UNKNOWN
Timeout
This specifies a valid timeout value. A timeout value is an integer that is greater than zero.
URL
This specifies a URL. This is a string and is validated using the Data::Validate::URI library with the is_uri
function.
DEPENDENCIES
This module is dependent on the following modules:
Data::Validate::URI 0.05
MooseX::Types 0.08
namespace::clean 0.04
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 2009 Douglas Christopher Wilson, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.