From 3ed315d7b6cb61eb08421e948d524cf634ffef81 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Tue, 7 Jul 2015 13:47:35 +0200 Subject: [PATCH] Adding CDATA to pc agent plugins --- pandora_agents/pc/plugins/files_indir | 12 ++++++------ pandora_agents/pc/plugins/nagios_plugin_wrapper | 8 ++++---- pandora_agents/pc/plugins/pandora_df | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pandora_agents/pc/plugins/files_indir b/pandora_agents/pc/plugins/files_indir index dc29bcd051..fc9aae346c 100644 --- a/pandora_agents/pc/plugins/files_indir +++ b/pandora_agents/pc/plugins/files_indir @@ -40,15 +40,15 @@ echo $CURRENT > $DIRETMP echo " - Number of files in directory - generic_proc - $DISPARA + + + - Number of files - generic_data - $CURRENT + + + " diff --git a/pandora_agents/pc/plugins/nagios_plugin_wrapper b/pandora_agents/pc/plugins/nagios_plugin_wrapper index 63b9058380..34b5e80eb1 100644 --- a/pandora_agents/pc/plugins/nagios_plugin_wrapper +++ b/pandora_agents/pc/plugins/nagios_plugin_wrapper @@ -59,11 +59,11 @@ if ($command ne ""){ elsif ($ReturnCode == 4){ $module_data = 3; # need to be managed on module thresholds } - + print ""; - print "".$module_name."\n"; - print "generic_proc\n"; - print "".$module_data."\n"; + print "\n"; + print "\n"; + print "\n"; print "\n"; print "\n"; diff --git a/pandora_agents/pc/plugins/pandora_df b/pandora_agents/pc/plugins/pandora_df index 59e04719cc..48118b771d 100644 --- a/pandora_agents/pc/plugins/pandora_df +++ b/pandora_agents/pc/plugins/pandora_df @@ -78,7 +78,7 @@ while (my ($filesystem, $use) = each (%filesystems)) { print "\n"; print "\n"; print "\n"; - print "% of usage in this volume\n"; + print "\n"; print "\n"; }