From 641758b4bf4db12988d004fae5a9176eb761c498 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 18 Sep 2020 14:18:24 +0200 Subject: [PATCH] add stormshield health status --- network/stormshield/snmp/mode/health.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/stormshield/snmp/mode/health.pm b/network/stormshield/snmp/mode/health.pm index 563d16c86..5118086ab 100644 --- a/network/stormshield/snmp/mode/health.pm +++ b/network/stormshield/snmp/mode/health.pm @@ -26,11 +26,11 @@ use strict; use warnings; use centreon::plugins::templates::catalog_functions qw(catalog_status_threshold_ng); -sub custom_status_output { +sub custom_service_status_output { my ($self, %options) = @_; return sprintf( - "health is '%s'", + "health: %s", $self->{result_values}->{health} ); }