From e9d539874b296f1a56b9bea50cb723176b086cf6 Mon Sep 17 00:00:00 2001 From: ramonn Date: Thu, 1 Aug 2013 11:03:50 +0000 Subject: [PATCH] 2013-08-01 Ramon Novoa * lib/PandoraFMS/Core.pm: Changed the name of the self-monitoring XML files. Fixes bug #2365. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/lib/PandoraFMS/Core.pm | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 4b0d5358ac..8256d30136 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2013-08-01 Ramon Novoa + + * lib/PandoraFMS/Core.pm: Changed the name of the self-monitoring XML + files. Fixes bug #2365. + 2013-08-01 Ramon Novoa * lib/PandoraFMS/DataServer.pm, diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index f05376183b..3c7fd2e490 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -3825,7 +3825,7 @@ sub pandora_self_monitoring ($$) { $xml_output .= ""; - my $filename = $pa_config->{"incomingdir"}."/".$pa_config->{'servername'}.".".$utimestamp.".self.data"; + my $filename = $pa_config->{"incomingdir"}."/".$pa_config->{'servername'}.".self.".$utimestamp.".data"; open (XMLFILE, ">> $filename") or die "[FATAL] Could not open internal monitoring XML file for deploying monitorization at '$filename'"; print XMLFILE $xml_output;