fix fortigate devicestatus help (#1050)

This commit is contained in:
Colin Gagnaire 2018-07-12 14:23:40 +02:00 committed by GitHub
parent bd5e3567dc
commit 44600ef825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -90,7 +90,7 @@ sub custom_status_threshold {
eval "$instance_mode->{option_results}->{'critical_' . $label}") {
$status = 'critical';
} elsif (defined($instance_mode->{option_results}->{'warning_' . $label}) && $instance_mode->{option_results}->{'warning_' . $label} ne '' &&
eval "$instance_mode->{option_results}->{'warning_' . $label}") {
eval "$instance_mode->{option_results}->{'warning_' . $label}") {
$status = 'warning';
}
};
@ -238,32 +238,32 @@ Can used special variables like: %{status}, %{display}
Set critical threshold for device status
Can used special variables like: %{status}, %{display}
=item B<--warning-con-status>
=item B<--warning-device-con-status>
Set warning threshold for device connection status.
Can used special variables like: %{status}, %{display}
=item B<--critical-con-status>
=item B<--critical-device-con-status>
Set critical threshold for device connection status (Default: '%{status} =~ /down/i').
Can used special variables like: %{status}, %{display}
=item B<--warning-db-status>
=item B<--warning-device-db-status>
Set warning threshold for device DB status.
Can used special variables like: %{status}, %{display}
=item B<--critical-db-status>
=item B<--critical-device-db-status>
Set critical threshold for device DB status.
Can used special variables like: %{status}, %{display}
=item B<--warning-config-status>
=item B<--warning-device-config-status>
Set warning threshold for device configuration status.
Can used special variables like: %{status}, %{display}
=item B<--critical-config-status>
=item B<--critical-device-config-status>
Set critical threshold for device configuration status.
Can used special variables like: %{status}, %{display}