NAME
OP::Enum::State - Criticality enumeration
DESCRIPTION
Exports "Nagios-style" states: OK (0), Warn (1), and Crit (2).
SYNOPSIS
use OP::Enum::State;
sub foo($) {
...
return OK if $ok;
return Warn if $warn;
return Crit if $crit;
}
CONSTANTS
OP::Enum::State::OK
0
OP::Enum::State::Warn
1
OP::Enum::State::Crit
2
SEE ALSO
This file is part of OP.
REVISION
$Id: //depotit/tools/source/snitchd-0.20/lib/OP/Enum/State.pm#2 $