Fix typo in mscs network status mode

This commit is contained in:
garnier-quentin 2019-03-01 13:13:27 +01:00
parent f76b91bb5f
commit 1c94d66f6e
1 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ sub new {
"filter-name:s" => { name => 'filter_name' },
"unknown-status:s" => { name => 'unknown_status', default => '%{state} =~ /unknown/' },
"warning-status:s" => { name => 'warning_status', default => '' },
"critical-status:s" => { name => 'critical_status', default => '%{state} =~ /down|paritioned|unavailable/' },
"critical-status:s" => { name => 'critical_status', default => '%{state} =~ /down|partitioned|unavailable/' },
});
return $self;
@ -95,7 +95,7 @@ my %map_state = (
-1 => 'unknown',
0 => 'unavailable',
1 => 'down',
2 => 'paritioned',
2 => 'partitioned',
3 => 'up',
);
@ -153,7 +153,7 @@ Can used special variables like: %{state}, %{display}
=item B<--critical-status>
Set critical threshold for status (Default: '%{state} =~ /down|paritioned|unavailable/').
Set critical threshold for status (Default: '%{state} =~ /down|partitioned|unavailable/').
Can used special variables like: %{state}, %{display}
=back