Query: nagios::plugin::threshold
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Nagios::Plugin::Threshold(3pm) User Contributed Perl Documentation Nagios::Plugin::Threshold(3pm)NAMENagios::Plugin::Threshold - class for handling Nagios::Plugin thresholds.SYNOPSIS# NB: This is an internal Nagios::Plugin class. # See Nagios::Plugin itself for public interfaces. # Constructor $t = Nagios::Plugin::Threshold->set_thresholds( warning => $warning_range_string, critical => $critical_range_string, ); # Value checking - returns CRITICAL if in the critical range, # WARNING if in the warning range, and OK otherwise $status = $t->get_status($value); # Accessors - return the associated N::P::Range object $warning_range = $t->warning; $critical_range = $t->critical;DESCRIPTIONInternal Nagios::Plugin class for handling threshold data. See Nagios::Plugin for public interfaces. A threshold object contains (typically) a pair of ranges, associated with a particular severity e.g. warning => range1 critical => range2AUTHORThis code is maintained by the Nagios Plugin Development Team: see http://nagiosplug.sourceforge.net.COPYRIGHT AND LICENSECopyright (C) 2006-2007 Nagios Plugin Development Team This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-12-22 Nagios::Plugin::Threshold(3pm)