remove dep in rad airmux
This commit is contained in:
parent
b031e397cc
commit
bfd3889210
|
@ -76,14 +76,12 @@ sub new {
|
|||
bless $self, $class;
|
||||
|
||||
$options{options}->add_options(arguments => {
|
||||
"filter-msg:s" => { name => 'filter_msg' },
|
||||
"warning-status:s" => { name => 'warning_status', default => '%{severity} =~ /minor|warning/i' },
|
||||
"critical-status:s" => { name => 'critical_status', default => '%{severity} =~ /critical|major/i' },
|
||||
"memory" => { name => 'memory' },
|
||||
'filter-msg:s' => { name => 'filter_msg' },
|
||||
'warning-status:s' => { name => 'warning_status', default => '%{severity} =~ /minor|warning/i' },
|
||||
'critical-status:s' => { name => 'critical_status', default => '%{severity} =~ /critical|major/i' },
|
||||
'memory' => { name => 'memory' },
|
||||
});
|
||||
|
||||
centreon::plugins::misc::mymodule_load(output => $self->{output}, module => 'Date::Parse',
|
||||
error_msg => "Cannot load module 'Date::Parse'.");
|
||||
$self->{statefile_cache} = centreon::plugins::statefile->new(%options);
|
||||
return $self;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue