mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
2009-01-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* lib/PandoraFMS/Config.pm: Commented 2 lines that broke the server git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
afe99a4587
commit
e901d4b55a
@ -1,3 +1,7 @@
|
|||||||
|
2009-01-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
|
||||||
|
|
||||||
|
* lib/PandoraFMS/Config.pm: Commented 2 lines that broke the server
|
||||||
|
|
||||||
2009-01-20 Raul Mateos <raulofpandora@gmail.com>
|
2009-01-20 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
* lib/PandoraFMS/Config.pm: Changed some texts again.
|
* lib/PandoraFMS/Config.pm: Changed some texts again.
|
||||||
|
@ -473,7 +473,7 @@ sub pandora_loadconfig {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
# Show some config options in startup
|
# Show some config options in startup
|
||||||
if (($pa_config->{"quiet"} == 0) && ($pa_config->{"verbosity"} > 4)) {
|
#if (($pa_config->{"quiet"} == 0) && ($pa_config->{"verbosity"} > 4)) { #<-- This breaks the server as you don't allow pa_config->{"servermode"} to be set
|
||||||
if ($opmode == 0){
|
if ($opmode == 0){
|
||||||
print " [*] You are running Pandora FMS Data Server. \n";
|
print " [*] You are running Pandora FMS Data Server. \n";
|
||||||
$parametro ="Pandora FMS Data Server";
|
$parametro ="Pandora FMS Data Server";
|
||||||
@ -525,7 +525,7 @@ sub pandora_loadconfig {
|
|||||||
if ($pa_config->{"pandora_master"} == 1) {
|
if ($pa_config->{"pandora_master"} == 1) {
|
||||||
print " [*] This server is running in MASTER mode.\n";
|
print " [*] This server is running in MASTER mode.\n";
|
||||||
}
|
}
|
||||||
}
|
#}
|
||||||
logger ($pa_config, "Launching $parametro $pa_config->{'version'} $pa_config->{'build'}", 0);
|
logger ($pa_config, "Launching $parametro $pa_config->{'version'} $pa_config->{'build'}", 0);
|
||||||
my $config_options = "Logfile at ".$pa_config->{"logfile"}.", Basepath is ".$pa_config->{"basepath"}.", Checksum is ".$pa_config->{"pandora_check"}.", Master is ".$pa_config->{"pandora_master"}.", SNMP Console is ".$pa_config->{"snmpconsole"}.", Server Threshold at ".$pa_config->{"server_threshold"}." sec, verbosity at ".$pa_config->{"verbosity"}.", Alert Threshold at $pa_config->{'alert_threshold'}, ServerName is '".$pa_config->{'servername'}.$pa_config->{"servermode"}."'";
|
my $config_options = "Logfile at ".$pa_config->{"logfile"}.", Basepath is ".$pa_config->{"basepath"}.", Checksum is ".$pa_config->{"pandora_check"}.", Master is ".$pa_config->{"pandora_master"}.", SNMP Console is ".$pa_config->{"snmpconsole"}.", Server Threshold at ".$pa_config->{"server_threshold"}." sec, verbosity at ".$pa_config->{"verbosity"}.", Alert Threshold at $pa_config->{'alert_threshold'}, ServerName is '".$pa_config->{'servername'}.$pa_config->{"servermode"}."'";
|
||||||
logger ($pa_config, "Config options: $config_options", 1);
|
logger ($pa_config, "Config options: $config_options", 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user