2009-01-21 Ramon Novoa <rnovoa@artica.es>
* pandora_server/lib/PandoraFMS/Config.pm: Updated configuration options. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
588de6e5b4
commit
5606159a17
|
@ -1,3 +1,8 @@
|
|||
2009-01-21 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_server/lib/PandoraFMS/Config.pm: Updated configuration
|
||||
options.
|
||||
|
||||
2009-01-21 Sancho Leren <slerena@artica.es>
|
||||
|
||||
* pandora_server_upgrade: Script to upgrade to latest version
|
||||
|
|
|
@ -201,8 +201,13 @@ sub pandora_loadconfig {
|
|||
$pa_config->{'max_log_size'} = 1048576; # 1MB by default
|
||||
|
||||
# Multicast status report
|
||||
$pa_config->{'mcast_group'} = '226.1.1.2';
|
||||
$pa_config->{'mcast_port'} = '2000';
|
||||
$pa_config->{'mcast_status_group'} = '226.1.1.2';
|
||||
$pa_config->{'mcast_status_port'} = '2000';
|
||||
|
||||
|
||||
# Multicast change report
|
||||
$pa_config->{'mcast_change_group'} = '226.1.1.2';
|
||||
$pa_config->{'mcast_change_port'} = '2000';
|
||||
|
||||
# Check for UID0
|
||||
if ($pa_config->{"quiet"} != 0){
|
||||
|
@ -415,11 +420,17 @@ sub pandora_loadconfig {
|
|||
elsif ($parametro =~ m/^max_log_size\s([0-9]*)/i) {
|
||||
$pa_config->{'max_log_size'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^mcast_group\s([0-9\.]*)/i) {
|
||||
$pa_config->{'mcast_group'}= clean_blank($1);
|
||||
elsif ($parametro =~ m/^mcast_status_group\s([0-9\.]*)/i) {
|
||||
$pa_config->{'mcast_status_group'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^mcast_port\s([0-9]*)/i) {
|
||||
$pa_config->{'mcast_port'}= clean_blank($1);
|
||||
elsif ($parametro =~ m/^mcast_change_group\s([0-9\.]*)/i) {
|
||||
$pa_config->{'mcast_change_group'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^mcast_status_port\s([0-9]*)/i) {
|
||||
$pa_config->{'mcast_status_port'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^mcast_change_port\s([0-9]*)/i) {
|
||||
$pa_config->{'mcast_change_port'}= clean_blank($1);
|
||||
}
|
||||
} # end of loop for parameter #
|
||||
|
||||
|
|
Loading…
Reference in New Issue