2007-06-14 Manuel Arostegui <marostegui@artica.es>
* linux/INSTALL: Added how to use the new installer. * aix/pandora_agent_installer: Changed few things to make it works with the new name of the agent. * aix/pandora_agent: This is the old pandora_agent.sh which has been renamed to pandora_agent * aix/pandora_agent_daemon: Changed few thing to make it works with the new name of the agent. * aix/INSTALL: Added how to use the new installer. * aix/pandora_agent.sh: Renamed to pandora_agent. * hp-ux/pandora_agent: This is the old pandora_agent.sh which has been renamed to pandora_agent * hp-ux/pandora_agent_daemon: Changed few thing to make it works with the new name of the agent. * hp-ux/INSTALL: Added how to use the new installer. * hp-ux/pandora_agent.sh: Renamed to pandora_agent. * solaris/pandora_agent_installer: Changed few thing to make it works with the new name of the agent. * solaris/pandora_agent: This is the old pandora_agent.sh which has been renamed to pandora_agent * solaris/pandora_agent_daemon: Changed few thing to make it works with the new name of the agent. * solaris/INSTALL: Added how to use the new installer. * solaris/pandora_agent.sh: Renamed to pandora_agent. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
536caf6933
commit
10d840e2f8
|
@ -1,3 +1,44 @@
|
|||
2007-06-14 Manuel Arostegui <marostegui@artica.es>
|
||||
|
||||
* linux/INSTALL: Added how to use the new installer.
|
||||
|
||||
* aix/pandora_agent_installer: Changed few things
|
||||
to make it works with the new name of the agent.
|
||||
|
||||
* aix/pandora_agent: This is the old pandora_agent.sh
|
||||
which has been renamed to pandora_agent
|
||||
|
||||
* aix/pandora_agent_daemon: Changed few thing to make it
|
||||
works with the new name of the agent.
|
||||
|
||||
* aix/INSTALL: Added how to use the new installer.
|
||||
|
||||
* aix/pandora_agent.sh: Renamed to pandora_agent.
|
||||
|
||||
* hp-ux/pandora_agent: This is the old pandora_agent.sh
|
||||
which has been renamed to pandora_agent
|
||||
|
||||
* hp-ux/pandora_agent_daemon: Changed few thing to make it
|
||||
works with the new name of the agent.
|
||||
|
||||
* hp-ux/INSTALL: Added how to use the new installer.
|
||||
|
||||
* hp-ux/pandora_agent.sh: Renamed to pandora_agent.
|
||||
|
||||
* solaris/pandora_agent_installer: Changed few thing to make it
|
||||
works with the new name of the agent.
|
||||
|
||||
* solaris/pandora_agent: This is the old pandora_agent.sh
|
||||
which has been renamed to pandora_agent
|
||||
|
||||
* solaris/pandora_agent_daemon: Changed few thing to make it
|
||||
works with the new name of the agent.
|
||||
|
||||
* solaris/INSTALL: Added how to use the new installer.
|
||||
|
||||
* solaris/pandora_agent.sh: Renamed to pandora_agent.
|
||||
|
||||
|
||||
2007-06-14 Manuel Arostegui <marostegui@artica.es>
|
||||
|
||||
* linux/pandora_agent_installer, pandora_agent_daemon:
|
||||
|
|
|
@ -14,7 +14,7 @@ pandora_user.conf
|
|||
|
||||
A script file (the pandora agent)
|
||||
|
||||
pandora_agent.sh
|
||||
pandora_agent
|
||||
|
||||
And a startup script
|
||||
|
||||
|
@ -22,6 +22,20 @@ pandora_agent_daemon
|
|||
|
||||
Pandora Agents use pandora_agent.conf to load initial data and load module data. Modules are atomic source of information. Please refer to Pandora Agents configuration - Quick Guide for more information.
|
||||
|
||||
pandora_user.conf is low level configuration. It will be executed in each iteration of pandora_agent.sh script. Please read it and see how it works.
|
||||
pandora_user.conf is low level configuration. It will be executed in each iteration of pandora_agent script. Please read it and see how it works.
|
||||
|
||||
There are a startup script called "pandora_agent_daemon" used to load Pandora Agent at boot time, and to stop ip. It depends on what type of Unix are you running. Test it before including it your init level script directory, it accepts start / stop / restart commands, like usual in Unix System V systems.
|
||||
|
||||
Installing Pandora Agent.
|
||||
|
||||
There's a installer for the pandora agent, which is called:
|
||||
pandora_agent_installer
|
||||
|
||||
You can easily install the PandoraFMS Agent using:
|
||||
./pandora_agent_installer --install
|
||||
|
||||
To uninstall the agent just use:
|
||||
./pandora_agent_installer --uninstall
|
||||
|
||||
If you want to reinstall the pandora agent you already installed in your system:
|
||||
./pandora_agent_installer --force-install
|
||||
|
|
|
@ -22,7 +22,7 @@ then
|
|||
echo " "
|
||||
echo "FATAL ERROR: I need an argument to PANDORA AGENT home path"
|
||||
echo " "
|
||||
echo " example: /usr/share/pandora_agent/pandora_agent.sh /etc/pandora "
|
||||
echo " example: /usr/share/pandora_agent/pandora_agent /etc/pandora "
|
||||
echo " "
|
||||
exit
|
||||
else
|
|
@ -9,11 +9,11 @@
|
|||
# DOESNT WORK WHEN MAKES A CALL THAT USE @ CHARACTER
|
||||
# USE DIRECTLY PANDORA AGENT SCRIPT
|
||||
|
||||
# for example: pandora_agent.sh /usr/share/pandora_agent/ &
|
||||
# for example: pandora_agent /usr/share/pandora_agent/ &
|
||||
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
||||
PANDORA_PATH=/usr/share/pandora_agent/
|
||||
DAEMON=pandora_agent.sh
|
||||
DAEMON=pandora_agent
|
||||
PIDFILE=/var/locks/pandora_agent.pid
|
||||
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
# **********************************************************************
|
||||
|
||||
PI_VERSION=1.0
|
||||
PANDORA_BIN=/usr/bin/pandora_agent.sh
|
||||
PANDORA_BIN=/usr/bin/pandora_agent
|
||||
PANDORA_HOME=/usr/share/pandora_agent
|
||||
PANDORA_TEMP=/var/spool/pandora
|
||||
PANDORA_CFG=/etc/pandora
|
||||
|
@ -31,7 +31,7 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "pandora_agent.sh" ]
|
||||
if [ ! -f "pandora_agent" ]
|
||||
then
|
||||
echo " "
|
||||
echo "You need to place on main distribution directory before install"
|
||||
|
@ -88,13 +88,13 @@ install () {
|
|||
|
||||
# Copying agent and securing it
|
||||
echo "Copying Pandora Agent to $PANDORA_BIN..."
|
||||
cp pandora_agent.sh $PANDORA_BIN
|
||||
cp pandora_agent $PANDORA_BIN
|
||||
chmod 700 $PANDORA_BIN
|
||||
|
||||
# Copying moduleS
|
||||
echo "Copying Pandora Agent configuration file to $PANDORA_HOME/pandora_agent.conf..."
|
||||
cp pandora_agent.conf $PANDORA_HOME
|
||||
cp pandora_agent.sh $PANDORA_HOME
|
||||
cp pandora_agent $PANDORA_HOME
|
||||
cp pandora_agent_daemon $PANDORA_HOME
|
||||
chmod 600 $PANDORA_HOME/pandora_agent.conf
|
||||
echo "Linking Pandora Agent configuration to $PANDORA_CFG/pandora_agent.conf..."
|
||||
|
|
|
@ -14,7 +14,7 @@ pandora_user.conf
|
|||
|
||||
A script file (the pandora agent)
|
||||
|
||||
pandora_agent.sh
|
||||
pandora_agent
|
||||
|
||||
And a startup script
|
||||
|
||||
|
@ -22,6 +22,6 @@ pandora_agent_daemon
|
|||
|
||||
Pandora Agents use pandora_agent.conf to load initial data and load module data. Modules are atomic source of information. Please refer to Pandora Agents configuration - Quick Guide for more information.
|
||||
|
||||
pandora_user.conf is low level configuration. It will be executed in each iteration of pandora_agent.sh script. Please read it and see how it works.
|
||||
pandora_user.conf is low level configuration. It will be executed in each iteration of pandora_agent script. Please read it and see how it works.
|
||||
|
||||
There are a startup script called "pandora_agent_daemon" used to load Pandora Agent at boot time, and to stop ip. It depends on what type of Unix are you running. Test it before including it your init level script directory, it accepts start / stop / restart commands, like usual in Unix System V systems.
|
||||
|
|
|
@ -22,7 +22,7 @@ then
|
|||
echo " "
|
||||
echo "FATAL ERROR: I need an argument to PANDORA AGENT home path"
|
||||
echo " "
|
||||
echo " example: /usr/share/pandora_ng/pandora_agent.sh /usr/share/pandora_ng "
|
||||
echo " example: /usr/share/pandora_ng/pandora_agent /usr/share/pandora_ng "
|
||||
echo " "
|
||||
exit
|
||||
else
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
||||
PANDORA_PATH=/usr/share/pandora_agent/
|
||||
DAEMON=pandora_agent.sh
|
||||
DAEMON=pandora_agent
|
||||
PIDFILE=/var/run/pandora_agent.pid
|
||||
|
||||
|
||||
|
|
|
@ -25,3 +25,18 @@ Pandora Agents use pandora_agent.conf to load initial data and load module data.
|
|||
pandora_user.conf is low level configuration. It will be executed in each iteration of pandora_agent.sh script. Please read it and see how it works.
|
||||
|
||||
There are a startup script called "pandora_agent_daemon" used to load Pandora Agent at boot time, and to stop ip. It depends on what type of Unix are you running. Test it before including it your init level script directory, it accepts start / stop / restart commands, like usual in Unix System V systems.
|
||||
|
||||
Installing Pandora Agent.
|
||||
=========================
|
||||
There's a installer for the pandora agent, which is called:
|
||||
pandora_agent_installer
|
||||
|
||||
You can easily install the PandoraFMS Agent using:
|
||||
./pandora_agent_installer --install
|
||||
|
||||
To uninstall the agent just use:
|
||||
./pandora_agent_installer --uninstall
|
||||
|
||||
If you want to reinstall the pandora agent you already installed in your system:
|
||||
./pandora_agent_installer --force-install
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ pandora_user.conf
|
|||
|
||||
A script file (the pandora agent)
|
||||
|
||||
pandora_agent.sh
|
||||
pandora_agent
|
||||
|
||||
And a startup script
|
||||
|
||||
|
@ -22,6 +22,21 @@ pandora_agent_daemon
|
|||
|
||||
Pandora Agents use pandora_agent.conf to load initial data and load module data. Modules are atomic source of information. Please refer to Pandora Agents configuration - Quick Guide for more information.
|
||||
|
||||
pandora_user.conf is low level configuration. It will be executed in each iteration of pandora_agent.sh script. Please read it and see how it works.
|
||||
pandora_user.conf is low level configuration. It will be executed in each iteration of pandora_agent script. Please read it and see how it works.
|
||||
|
||||
There are a startup script called "pandora_agent_daemon" used to load Pandora Agent at boot time, and to stop ip. It depends on what type of Unix are you running. Test it before including it your init level script directory, it accepts start / stop / restart commands, like usual in Unix System V systems.
|
||||
|
||||
Installing Pandora Agent.
|
||||
=========================
|
||||
There's a installer for the pandora agent, which is called:
|
||||
pandora_agent_installer
|
||||
|
||||
You can easily install the PandoraFMS Agent using:
|
||||
./pandora_agent_installer --install
|
||||
|
||||
To uninstall the agent just use:
|
||||
./pandora_agent_installer --uninstall
|
||||
|
||||
If you want to reinstall the pandora agent you already installed in your system:
|
||||
./pandora_agent_installer --force-install
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# v1.2
|
||||
# (c) Sancho Lerena 2003-2006, slerena@gmail.com
|
||||
# Este codigo esta licenciado bajo la licencia GPL 2.0 o posterior
|
||||
# This code is licenced under GPL 2.0 licence or later
|
||||
# This code is licenced under GPL 2.0 licence
|
||||
# **********************************************************************
|
||||
|
||||
AGENT_VERSION="1.3"
|
||||
|
@ -22,7 +22,7 @@ then
|
|||
echo " "
|
||||
echo "FATAL ERROR: I need an argument to PANDORA AGENT home path"
|
||||
echo " "
|
||||
echo " example: /usr/share/pandora_agent/pandora_agent.sh /etc/pandora "
|
||||
echo " example: /usr/share/pandora_agent/pandora_agent /etc/pandora "
|
||||
echo " "
|
||||
exit
|
||||
else
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
||||
PANDORA_PATH=/usr/share/pandora_agent/
|
||||
DAEMON=pandora_agent.sh
|
||||
DAEMON=pandora_agent
|
||||
PIDFILE=/var/run/pandora_agent.pid
|
||||
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
# **********************************************************************
|
||||
|
||||
PI_VERSION=1.0
|
||||
PANDORA_BIN=/usr/bin/pandora_agent.sh
|
||||
PANDORA_BIN=/usr/bin/pandora_agent
|
||||
PANDORA_HOME=/usr/share/pandora_agent
|
||||
PANDORA_TEMP=/var/spool/pandora
|
||||
PANDORA_CFG=/etc/pandora
|
||||
|
@ -31,7 +31,7 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "pandora_agent.sh" ]
|
||||
if [ ! -f "pandora_agent" ]
|
||||
then
|
||||
echo " "
|
||||
echo "You need to place on main distribution directory before install"
|
||||
|
@ -88,13 +88,13 @@ install () {
|
|||
|
||||
# Copying agent and securing it
|
||||
echo "Copying Pandora Agent to $PANDORA_BIN..."
|
||||
cp pandora_agent.sh $PANDORA_BIN
|
||||
cp pandora_agent $PANDORA_BIN
|
||||
chmod 700 $PANDORA_BIN
|
||||
|
||||
# Copying moduleS
|
||||
echo "Copying Pandora Agent configuration file to $PANDORA_HOME/pandora_agent.conf..."
|
||||
cp pandora_agent.conf $PANDORA_HOME
|
||||
cp pandora_agent.sh $PANDORA_HOME
|
||||
cp pandora_agent $PANDORA_HOME
|
||||
cp pandora_agent_daemon $PANDORA_HOME
|
||||
chmod 600 $PANDORA_HOME/pandora_agent.conf
|
||||
echo "Linking Pandora Agent configuration to $PANDORA_CFG/pandora_agent.conf..."
|
||||
|
|
Loading…
Reference in New Issue