2007-08-23 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/Config.pm, bin/pandora_snmpconsole: Real fix for problem in snmplogfile. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
9c6031ee0c
commit
84799432f8
|
@ -1,4 +1,9 @@
|
|||
2007-08-21 Sancho Lerena <slerena@gmail.com>
|
||||
2007-08-23 Sancho Lerena <slerena@gmail.com>
|
||||
|
||||
* lib/PandoraFMS/Config.pm, bin/pandora_snmpconsole: Real fix for problem in
|
||||
snmplogfile.
|
||||
|
||||
2007-08-21 Sancho Lerena <slerena@gmail.com>
|
||||
|
||||
* conf/pandora_server.conf: Final fixes for default file.
|
||||
|
||||
|
@ -6,18 +11,18 @@
|
|||
|
||||
* bin/*: Disabled flush for each I/O (ready for production).
|
||||
|
||||
2007-08-06 Sancho Lerena <slerena@gmail.com>
|
||||
2007-08-06 Sancho Lerena <slerena@gmail.com>
|
||||
|
||||
* DB.pm: Alert time support uses TIME format instead numeric (changes requested
|
||||
by esanchezm).
|
||||
|
||||
2007-08-02 Sancho Lerena <slerena@gmail.com>
|
||||
2007-08-02 Sancho Lerena <slerena@gmail.com>
|
||||
|
||||
* Makefile.PL: Missing dep updated and .pl extensions purged.
|
||||
|
||||
* All (4) startup scripts: Updated startup script.
|
||||
|
||||
* lib/PandoraFMS/Config.pm: Now servers dont get "Homedir" from command line, get
|
||||
* lib/PandoraFMS/Config.pm: Now servers dont get "Homedir" from command line, get
|
||||
config file directly
|
||||
|
||||
* bin/pandora_recon, bin/pandora_server, bin/pandora_network, bin/pandora_snmpconsole:
|
||||
|
|
|
@ -62,7 +62,7 @@ pandora_snmptrapd (\%pa_config);
|
|||
|
||||
sub pandora_snmptrapd {
|
||||
my $pa_config = $_[0];
|
||||
my $snmp_logfile = $pa_config->{'pandora_snmp_logfile'};
|
||||
my $snmp_logfile = $pa_config->{'snmp_logfile'};
|
||||
my $logfile_size; # Size of logfile, use for calculating index file
|
||||
my @array;
|
||||
my $datos;
|
||||
|
|
|
@ -138,7 +138,7 @@ sub pandora_loadconfig {
|
|||
$pa_config->{"dataserver"}=0;
|
||||
$pa_config->{"reconserver"}=0;
|
||||
$pa_config->{"servermode"}="";
|
||||
$pa_config->{'pandora_snmp_logfile'}="/var/log/pandora_snmptrap.log";
|
||||
$pa_config->{'snmp_logfile'}="/var/log/pandora/pandora_snmptrap.log";
|
||||
$pa_config->{"network_threads"}=5; # Fixed default
|
||||
$pa_config->{"keepalive"}=60; # 60 Seconds initially for server keepalive
|
||||
$pa_config->{"keepalive_orig"} = $pa_config->{"keepalive"};
|
||||
|
@ -205,7 +205,7 @@ sub pandora_loadconfig {
|
|||
$pa_config->{"errorlogfile"} = $tbuf;
|
||||
}
|
||||
}
|
||||
elsif ($parametro =~ m/^snmp_logfile\s(.*)/i) { $pa_config->{'pandora_snmp_logfile'}= $1; }
|
||||
elsif ($parametro =~ m/^snmp_logfile\s(.*)/i) { $pa_config->{'snmp_logfile'}= $1; }
|
||||
elsif ($parametro =~ m/^dbname\s(.*)/i) { $pa_config->{'dbname'}= $1; }
|
||||
elsif ($parametro =~ m/^dbuser\s(.*)/i) { $pa_config->{'dbuser'}= $1; }
|
||||
elsif ($parametro =~ m/^dbpass\s(.*)/i) { $pa_config->{'dbpass'}= $1; }
|
||||
|
|
Loading…
Reference in New Issue