mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
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:
parent
071bf227bf
commit
bff6274be9
@ -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>
|
||||
|
||||
* lib/PandoraFMS/Tools.pm: Fixed bug #2893302.
|
||||
|
@ -36,8 +36,8 @@ our @EXPORT = qw(
|
||||
);
|
||||
|
||||
# version: Defines actual version of Pandora Server for this module only
|
||||
my $pandora_version = "3.0RC1";
|
||||
my $pandora_build = "PS091020";
|
||||
my $pandora_version = "3.0RC2";
|
||||
my $pandora_build = "PS091106";
|
||||
our $VERSION = $pandora_version." ".$pandora_build;
|
||||
|
||||
# Setup hash
|
||||
@ -88,6 +88,7 @@ sub pandora_init {
|
||||
# If there are not valid parameters
|
||||
my $parametro;
|
||||
my $ltotal=$#ARGV; my $ax;
|
||||
|
||||
for ($ax=0;$ax<=$ltotal;$ax++){
|
||||
$parametro = $ARGV[$ax];
|
||||
if (($parametro =~ m/-h\z/i ) || ($parametro =~ m/help\z/i )) {
|
||||
|
@ -4,10 +4,12 @@
|
||||
# Linux Version (generic), for SuSe and Debian/Ubuntu only
|
||||
# other Linux distros could not work properly without modifications
|
||||
# Please see http://www.pandorafms.org
|
||||
# v3.0 Build 090810
|
||||
# v3.0 Build 091106
|
||||
# This code is licensed under GPL 2.0 license.
|
||||
# **********************************************************************
|
||||
|
||||
# TO DO: Add K Scripts
|
||||
|
||||
MODE=$1
|
||||
SECOPT=$2
|
||||
|
||||
@ -220,7 +222,7 @@ install () {
|
||||
|
||||
if [ -d /etc/cron.daily ]
|
||||
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 "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
|
||||
@ -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 " perl /usr/share/pandora_server/util/pandora_db.pl /etc/pandora/pandora_server.conf"
|
||||
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
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user