2009-11-06 Raul Mateos <raulofpandora@gmail.com>

* lib/PandoraFMS/Config.pm: Changed string from RC1 to RC2.
	Use tabs instead spaces. Updated build due to last changes.

	* pandora_server_installer: Added text to help the user to change the
	default password. Added TO DO.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2009-11-06 19:48:48 +00:00
parent 071bf227bf
commit bff6274be9
3 changed files with 123 additions and 109 deletions

View File

@ -1,3 +1,11 @@
2009-11-06 Raul Mateos <raulofpandora@gmail.com>
* lib/PandoraFMS/Config.pm: Changed string from RC1 to RC2.
Use tabs instead spaces. Updated build due to last changes.
* pandora_server_installer: Added text to help the user to change the
default password. Added TO DO.
2009-11-06 Ramon Novoa <rnovoa@artica.es> 2009-11-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed bug #2893302. * lib/PandoraFMS/Tools.pm: Fixed bug #2893302.

View File

@ -36,8 +36,8 @@ our @EXPORT = qw(
); );
# version: Defines actual version of Pandora Server for this module only # version: Defines actual version of Pandora Server for this module only
my $pandora_version = "3.0RC1"; my $pandora_version = "3.0RC2";
my $pandora_build = "PS091020"; my $pandora_build = "PS091106";
our $VERSION = $pandora_version." ".$pandora_build; our $VERSION = $pandora_version." ".$pandora_build;
# Setup hash # Setup hash
@ -88,6 +88,7 @@ sub pandora_init {
# If there are not valid parameters # If there are not valid parameters
my $parametro; my $parametro;
my $ltotal=$#ARGV; my $ax; my $ltotal=$#ARGV; my $ax;
for ($ax=0;$ax<=$ltotal;$ax++){ for ($ax=0;$ax<=$ltotal;$ax++){
$parametro = $ARGV[$ax]; $parametro = $ARGV[$ax];
if (($parametro =~ m/-h\z/i ) || ($parametro =~ m/help\z/i )) { if (($parametro =~ m/-h\z/i ) || ($parametro =~ m/help\z/i )) {

View File

@ -4,10 +4,12 @@
# Linux Version (generic), for SuSe and Debian/Ubuntu only # Linux Version (generic), for SuSe and Debian/Ubuntu only
# other Linux distros could not work properly without modifications # other Linux distros could not work properly without modifications
# Please see http://www.pandorafms.org # Please see http://www.pandorafms.org
# v3.0 Build 090810 # v3.0 Build 091106
# This code is licensed under GPL 2.0 license. # This code is licensed under GPL 2.0 license.
# ********************************************************************** # **********************************************************************
# TO DO: Add K Scripts
MODE=$1 MODE=$1
SECOPT=$2 SECOPT=$2
@ -220,7 +222,7 @@ install () {
if [ -d /etc/cron.daily ] if [ -d /etc/cron.daily ]
then then
echo "Create the Cron script to run daily Pandora DB tool" echo "Creating the Cron script to run daily Pandora DB tool"
echo "#!/bin/bash" > /etc/cron.daily/pandora_db echo "#!/bin/bash" > /etc/cron.daily/pandora_db
echo "perl /usr/share/pandora_server/util/pandora_db.pl /etc/pandora/pandora_server.conf" >> /etc/cron.daily/pandora_db echo "perl /usr/share/pandora_server/util/pandora_db.pl /etc/pandora/pandora_server.conf" >> /etc/cron.daily/pandora_db
chmod +x /etc/cron.daily/pandora_db chmod +x /etc/cron.daily/pandora_db
@ -228,6 +230,9 @@ install () {
echo "You're probably not using cron for automatic scheduling. You should schedule the following command to run frequently (daily) on your master server:" echo "You're probably not using cron for automatic scheduling. You should schedule the following command to run frequently (daily) on your master server:"
echo " perl /usr/share/pandora_server/util/pandora_db.pl /etc/pandora/pandora_server.conf" echo " perl /usr/share/pandora_server/util/pandora_db.pl /etc/pandora/pandora_server.conf"
fi fi
echo
echo "Now you have to edit your /etc/pandora/pandora_server.conf file to change the database password (default is pandora) with the one set in include/config.php of your Pandora FMS Console."
echo "After setting password you can start your Pandora FMS Server!!"
rm output rm output
fi fi