From 44600ef825a012bf34cff3639ad530393141bfb0 Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Thu, 12 Jul 2018 14:23:40 +0200 Subject: [PATCH] fix fortigate devicestatus help (#1050) --- .../fortimanager/snmp/mode/devicestatus.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/network/fortinet/fortimanager/snmp/mode/devicestatus.pm b/network/fortinet/fortimanager/snmp/mode/devicestatus.pm index 8ea5f20e4..1e389568f 100644 --- a/network/fortinet/fortimanager/snmp/mode/devicestatus.pm +++ b/network/fortinet/fortimanager/snmp/mode/devicestatus.pm @@ -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}