mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2013-03-11 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Reset configuration to default values before launching broker agents. Fixed bug #3519092. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1d4b4ad5f8
commit
86fb89169f
@ -1,3 +1,8 @@
|
|||||||
|
2013-03-11 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* pandora_agent: Reset configuration to default values before
|
||||||
|
launching broker agents. Fixed bug #3519092.
|
||||||
|
|
||||||
2013-03-11 Koichiro Kikuchi <koichiro@rworks.jp>
|
2013-03-11 Koichiro Kikuchi <koichiro@rworks.jp>
|
||||||
|
|
||||||
* pandora_agent: Fixed bug that the send_buffered_xml_files
|
* pandora_agent: Fixed bug that the send_buffered_xml_files
|
||||||
|
@ -115,7 +115,7 @@ my $ConfFile = 'pandora_agent.conf';
|
|||||||
my @BrokerPid;
|
my @BrokerPid;
|
||||||
|
|
||||||
# Configuration tokens
|
# Configuration tokens
|
||||||
my %Conf = (
|
my %DefaultConf = (
|
||||||
'server_ip' => 'localhost',
|
'server_ip' => 'localhost',
|
||||||
'server_path' => '/var/spool/pandora/data_in',
|
'server_path' => '/var/spool/pandora/data_in',
|
||||||
'logfile' =>'/var/log/pandora/pandora_agent.log',
|
'logfile' =>'/var/log/pandora/pandora_agent.log',
|
||||||
@ -160,6 +160,7 @@ my %Conf = (
|
|||||||
'custom_id' => '',
|
'custom_id' => '',
|
||||||
'url_address' => '',
|
'url_address' => '',
|
||||||
);
|
);
|
||||||
|
my %Conf = %DefaultConf;
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
my @Modules;
|
my @Modules;
|
||||||
@ -1971,6 +1972,7 @@ while (1) {
|
|||||||
@Modules = ();
|
@Modules = ();
|
||||||
@Plugins = ();
|
@Plugins = ();
|
||||||
%Collections = ();
|
%Collections = ();
|
||||||
|
%Conf = %DefaultConf;
|
||||||
read_config ();
|
read_config ();
|
||||||
|
|
||||||
# Check for a new configuration
|
# Check for a new configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user