From eb349d37aff0385b4757894fe652a0b9425e9a3c Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 1 Dec 2020 11:00:53 +0100 Subject: [PATCH] fix synology upgrade --- centreon-plugins/storage/synology/snmp/mode/upgrade.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/storage/synology/snmp/mode/upgrade.pm b/centreon-plugins/storage/synology/snmp/mode/upgrade.pm index 65f532afd..5a5b40eba 100644 --- a/centreon-plugins/storage/synology/snmp/mode/upgrade.pm +++ b/centreon-plugins/storage/synology/snmp/mode/upgrade.pm @@ -51,7 +51,7 @@ sub custom_status_output { return sprintf( "'%s': version is '%s', upgrade is '%s'", - $options{instance_value}->{model}, + $self->{result_values}->{model}, $self->{result_values}->{version}, $self->{result_values}->{upgrade} );