From 5118894e7b1552c07cf17ee370a358406a1a74be Mon Sep 17 00:00:00 2001 From: itoussies <65223458+itoussies@users.noreply.github.com> Date: Tue, 14 Jun 2022 09:47:47 +0200 Subject: [PATCH] prefix output fix (#3729) --- centreon-plugins/cloud/nutanix/snmp/mode/clusterusage.pm | 2 +- centreon-plugins/cloud/nutanix/snmp/mode/containerusage.pm | 2 +- centreon-plugins/cloud/nutanix/snmp/mode/diskusage.pm | 2 +- centreon-plugins/cloud/nutanix/snmp/mode/hypervisorusage.pm | 2 +- centreon-plugins/cloud/nutanix/snmp/mode/storagepoolusage.pm | 2 +- centreon-plugins/cloud/nutanix/snmp/mode/vmusage.pm | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/centreon-plugins/cloud/nutanix/snmp/mode/clusterusage.pm b/centreon-plugins/cloud/nutanix/snmp/mode/clusterusage.pm index 11b57724c..eb0a19a46 100644 --- a/centreon-plugins/cloud/nutanix/snmp/mode/clusterusage.pm +++ b/centreon-plugins/cloud/nutanix/snmp/mode/clusterusage.pm @@ -33,7 +33,7 @@ sub prefix_cluster_output { my ($self, %options) = @_; return sprintf( - "Cluster '%s'", + "Cluster '%s' ", $cluster_name ); } diff --git a/centreon-plugins/cloud/nutanix/snmp/mode/containerusage.pm b/centreon-plugins/cloud/nutanix/snmp/mode/containerusage.pm index d08ff734f..ff7d971ed 100644 --- a/centreon-plugins/cloud/nutanix/snmp/mode/containerusage.pm +++ b/centreon-plugins/cloud/nutanix/snmp/mode/containerusage.pm @@ -30,7 +30,7 @@ sub prefix_container_output { my ($self, %options) = @_; return sprintf( - "Container '%s'", + "Container '%s' ", $options{instance_value}->{display} ); } diff --git a/centreon-plugins/cloud/nutanix/snmp/mode/diskusage.pm b/centreon-plugins/cloud/nutanix/snmp/mode/diskusage.pm index 888a9b7c1..e604c2330 100644 --- a/centreon-plugins/cloud/nutanix/snmp/mode/diskusage.pm +++ b/centreon-plugins/cloud/nutanix/snmp/mode/diskusage.pm @@ -31,7 +31,7 @@ sub prefix_controllervm_output { my ($self, %options) = @_; return sprintf( - "ControllerVM '%s'", + "ControllerVM '%s' ", $options{instance_value}->{name} ); } diff --git a/centreon-plugins/cloud/nutanix/snmp/mode/hypervisorusage.pm b/centreon-plugins/cloud/nutanix/snmp/mode/hypervisorusage.pm index 52e932f30..ca5ce5586 100644 --- a/centreon-plugins/cloud/nutanix/snmp/mode/hypervisorusage.pm +++ b/centreon-plugins/cloud/nutanix/snmp/mode/hypervisorusage.pm @@ -30,7 +30,7 @@ sub prefix_hypervisor_output { my ($self, %options) = @_; return sprintf( - "Hypervisor '%s'", + "Hypervisor '%s' ", $options{instance_value}->{display} ); } diff --git a/centreon-plugins/cloud/nutanix/snmp/mode/storagepoolusage.pm b/centreon-plugins/cloud/nutanix/snmp/mode/storagepoolusage.pm index 66528d25b..a12aa6a0c 100644 --- a/centreon-plugins/cloud/nutanix/snmp/mode/storagepoolusage.pm +++ b/centreon-plugins/cloud/nutanix/snmp/mode/storagepoolusage.pm @@ -30,7 +30,7 @@ sub prefix_sp_output { my ($self, %options) = @_; return sprintf( - "Storage Pool '%s'", + "Storage Pool '%s' ", $options{instance_value}->{display} ); } diff --git a/centreon-plugins/cloud/nutanix/snmp/mode/vmusage.pm b/centreon-plugins/cloud/nutanix/snmp/mode/vmusage.pm index 07e391d7d..aa25b4e55 100644 --- a/centreon-plugins/cloud/nutanix/snmp/mode/vmusage.pm +++ b/centreon-plugins/cloud/nutanix/snmp/mode/vmusage.pm @@ -32,7 +32,7 @@ sub prefix_vm_output { my ($self, %options) = @_; return sprintf( - "Virtual machine '%s'", + "Virtual machine '%s' ", $options{instance_value}->{display} ); }