From e7620844e08d08e0e25d467663a22246b3f58a9f Mon Sep 17 00:00:00 2001 From: qgarnier Date: Fri, 16 Jun 2017 16:48:09 +0200 Subject: [PATCH] fix fortimanager device status mode --- .../network/fortinet/fortimanager/snmp/mode/devicestatus.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/network/fortinet/fortimanager/snmp/mode/devicestatus.pm b/centreon-plugins/network/fortinet/fortimanager/snmp/mode/devicestatus.pm index 732db8654..2a2cb40b8 100644 --- a/centreon-plugins/network/fortinet/fortimanager/snmp/mode/devicestatus.pm +++ b/centreon-plugins/network/fortinet/fortimanager/snmp/mode/devicestatus.pm @@ -45,7 +45,7 @@ sub set_counters { closure_custom_threshold_check => $self->can('custom_status_threshold'), } }, - { label => 'device-connection-status', threshold => 0, set => { + { label => 'device-con-status', threshold => 0, set => { key_values => [ { name => 'fmDeviceEntConnectState' }, { name => 'display' } ], closure_custom_calc => $self->can('custom_status_calc'), closure_custom_calc_extra_options => { output_label => 'Connection Status', name_status => 'fmDeviceEntConnectState' },