add stormshield health status

This commit is contained in:
garnier-quentin 2020-09-18 14:18:24 +02:00
parent 8f2d1f1bd6
commit 78ea4b9aed

View File

@ -26,11 +26,11 @@ use strict;
use warnings; use warnings;
use centreon::plugins::templates::catalog_functions qw(catalog_status_threshold_ng); use centreon::plugins::templates::catalog_functions qw(catalog_status_threshold_ng);
sub custom_status_output { sub custom_service_status_output {
my ($self, %options) = @_; my ($self, %options) = @_;
return sprintf( return sprintf(
"health is '%s'", "health: %s",
$self->{result_values}->{health} $self->{result_values}->{health}
); );
} }