2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer, DEBIAN/make_deb_package.sh, pandora_agent.spec: Updated to take the collections directory into account. * collections: Added to repository. Collections directory. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4dfa31bdb3
commit
688a639202
|
@ -1,3 +1,12 @@
|
|||
2010-07-20 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_agent_installer,
|
||||
DEBIAN/make_deb_package.sh,
|
||||
pandora_agent.spec: Updated to take the collections directory into
|
||||
account.
|
||||
|
||||
* collections: Added to repository. Collections directory.
|
||||
|
||||
2010-07-19 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_agent: Added support for file collections.
|
||||
|
|
|
@ -35,6 +35,7 @@ mkdir -p temp_package/usr/share/pandora_agent/
|
|||
mkdir -p temp_package/usr/bin/
|
||||
mkdir -p temp_package/usr/sbin/
|
||||
mkdir -p temp_package/etc/pandora/plugins
|
||||
mkdir -p temp_package/etc/pandora/collections
|
||||
mkdir -p temp_package/etc/init.d/
|
||||
mkdir -p temp_package/var/log/pandora/
|
||||
mkdir -p temp_package/usr/share/man/man1/
|
||||
|
|
|
@ -88,6 +88,10 @@ if [ ! -e /etc/pandora/plugins ]; then
|
|||
ln -s /usr/share/pandora_agent/plugins /etc/pandora
|
||||
fi
|
||||
|
||||
if [ ! -e /etc/pandora/collections ]; then
|
||||
ln -s /usr/share/pandora_agent/collections /etc/pandora
|
||||
fi
|
||||
|
||||
mkdir -p /var/spool/pandora/data_out
|
||||
chkconfig pandora_agent_daemon on
|
||||
|
||||
|
|
|
@ -235,7 +235,12 @@ install () {
|
|||
echo "Copying Pandora FMS Agent plugins to $PANDORA_BASE$PANDORA_HOME/plugins..."
|
||||
cp -r plugins $PANDORA_BASE$PANDORA_HOME
|
||||
chmod -R 700 $PANDORA_BASE$PANDORA_HOME/plugins
|
||||
ln -s $PANDORA_BASE$PANDORA_HOME/plugins $PANDORA_BASE$PANDORA_CFG
|
||||
ln -s $PANDORA_BASE$PANDORA_HOME/plugins $PANDORA_BASE$PANDORA_CFG
|
||||
|
||||
echo "Copying Pandora FMS Agent collections to $PANDORA_BASE$PANDORA_HOME/collections..."
|
||||
cp -r collections $PANDORA_BASE$PANDORA_HOME
|
||||
chmod -R 700 $PANDORA_BASE$PANDORA_HOME/collections
|
||||
ln -s $PANDORA_BASE$PANDORA_HOME/collections $PANDORA_BASE$PANDORA_CFG
|
||||
|
||||
echo "Copying tentacle client to $PANDORA_BASE$TENTACLE"
|
||||
cp tentacle_client $PANDORA_BASE$TENTACLE
|
||||
|
|
Loading…
Reference in New Issue