fix fortigate cluster default status

This commit is contained in:
Colin Gagnaire 2019-01-18 11:01:18 +01:00
parent db14129d93
commit d870207c13
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ sub new {
$options{options}->add_options(arguments =>
{
"warning-status:s" => { name => 'warning_status', default => '' },
"critical-status:s" => { name => 'critical_status', default => '%{sync_status} !~ /synchronized/' },
"critical-status:s" => { name => 'critical_status', default => '%{sync_status} =~ /not synchronized/' },
"one-node-status:s" => { name => 'one_node_status' }, # not used, use --opt-exit instead
});