fix thresholds
This commit is contained in:
parent
7aea1c8427
commit
8e2081bc3a
|
@ -30,9 +30,9 @@ my $thresholds = {
|
|||
['indeterminate', 'UNKNOWN'],
|
||||
['main', 'OK'],
|
||||
['stand-by', 'OK'],
|
||||
['active-pcs', 'CRITICAL'],
|
||||
['inactive-pcs', 'CRITICAL'],
|
||||
],
|
||||
['active-pcs', 'CRITICAL']
|
||||
]
|
||||
};
|
||||
my %map_role = (
|
||||
0 => 'indeterminate',
|
||||
|
@ -47,10 +47,10 @@ sub new {
|
|||
my $self = $class->SUPER::new(package => __PACKAGE__, %options);
|
||||
bless $self, $class;
|
||||
|
||||
$options{options}->add_options(arguments =>
|
||||
{
|
||||
"threshold-overload:s@" => { name => 'threshold_overload' },
|
||||
$options{options}->add_options(arguments => {
|
||||
'threshold-overload:s@' => { name => 'threshold_overload' },
|
||||
});
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue