NAME

Nagios::Plugin::Threshold - Threshold information in a perl object

DESCRIPTION

Handles common Nagios Plugin threshold data. See Nagios::Plugin or Nagios::Plugin::Performance for creation of this object.

OBJECT METHODS

warning, critical

Returns the warning or critical range as a Nagios::Plugin::Range object.

get_status($value)

Given a value, will see if the value breaches the critical or the warning range. Returns the status code.

AUTHOR

This code is maintained by the Nagios Plugin Development Team: http://nagiosplug.sourceforge.net

COPYRIGHT AND LICENSE

Copyright (C) 2006 Nagios Plugin Development Team

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.