From 0e96acecfa017def60dfd67a4d2b1a3163bcfdcc Mon Sep 17 00:00:00 2001 From: qgarnier Date: Tue, 25 Oct 2022 14:49:57 +0200 Subject: [PATCH] (plugin) network::fortinet::fortigate::snmp - mode hardware better message (#4018) --- .../centreon/common/fortinet/fortigate/snmp/mode/hardware.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centreon-plugins/centreon/common/fortinet/fortigate/snmp/mode/hardware.pm b/centreon-plugins/centreon/common/fortinet/fortigate/snmp/mode/hardware.pm index 87872cdf2..8d24e313d 100644 --- a/centreon-plugins/centreon/common/fortinet/fortigate/snmp/mode/hardware.pm +++ b/centreon-plugins/centreon/common/fortinet/fortigate/snmp/mode/hardware.pm @@ -168,7 +168,7 @@ sub check { $self->{output}->output_add( long_msg => sprintf( - "sensor '%s' status is '%s' [instance = %s] [value = %s]", + "sensor '%s' alarm status is '%s' [instance = %s] [value = %s]", $name, $result->{fgHwSensorEntAlarmStatus}, $instance, defined($result->{fgHwSensorEntValue}) ? $result->{fgHwSensorEntValue} : '-' ) @@ -178,7 +178,7 @@ sub check { if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) { $self->{output}->output_add( severity => $exit, - short_msg => sprintf("Sensor '%s' status is '%s'", $name, $result->{fgHwSensorEntAlarmStatus}) + short_msg => sprintf("Sensor '%s' alarm status is '%s'", $name, $result->{fgHwSensorEntAlarmStatus}) ); }