Fix typo in mscs network status mode
This commit is contained in:
parent
f76b91bb5f
commit
1c94d66f6e
|
@ -78,7 +78,7 @@ sub new {
|
||||||
"filter-name:s" => { name => 'filter_name' },
|
"filter-name:s" => { name => 'filter_name' },
|
||||||
"unknown-status:s" => { name => 'unknown_status', default => '%{state} =~ /unknown/' },
|
"unknown-status:s" => { name => 'unknown_status', default => '%{state} =~ /unknown/' },
|
||||||
"warning-status:s" => { name => 'warning_status', default => '' },
|
"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;
|
return $self;
|
||||||
|
@ -95,7 +95,7 @@ my %map_state = (
|
||||||
-1 => 'unknown',
|
-1 => 'unknown',
|
||||||
0 => 'unavailable',
|
0 => 'unavailable',
|
||||||
1 => 'down',
|
1 => 'down',
|
||||||
2 => 'paritioned',
|
2 => 'partitioned',
|
||||||
3 => 'up',
|
3 => 'up',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ Can used special variables like: %{state}, %{display}
|
||||||
|
|
||||||
=item B<--critical-status>
|
=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}
|
Can used special variables like: %{state}, %{display}
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
Loading…
Reference in New Issue