2010-05-16 Raul Mateos <raulofpandora@gmail.com>

* linux/pandora_agent_installer, linux/DEBIAN/make_deb_package.sh,
	linux/DEBIAN/control, linux/pandora_agent, linux/pandora_agent_daemon,
	linux/pandora_agent.conf: Updated build. Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2010-05-15 22:36:34 +00:00
parent b9e1dedc7a
commit a15281dcde
7 changed files with 26 additions and 20 deletions

View File

@ -1,3 +1,9 @@
2010-05-16 Raúl Mateos <raulofpandora@gmail.com>
* linux/pandora_agent_installer, linux/DEBIAN/make_deb_package.sh,
linux/DEBIAN/control, linux/pandora_agent, linux/pandora_agent_daemon,
linux/pandora_agent.conf: Updated build. Updated year.
2010-05-12 Sergio Martin <sergio.martin@artica.es> 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* unix/pandora_agent_installer * unix/pandora_agent_installer

View File

@ -1,5 +1,5 @@
package: PandoraFMS-Agent package: PandoraFMS-Agent
Version: 3.0.0 Version: 3.1.0
Architecture: all Architecture: all
Priority: optional Priority: optional
Section: admin Section: admin

View File

@ -2,7 +2,7 @@
#Pandora FMS- http:#pandorafms.com #Pandora FMS- http:#pandorafms.com
# ================================================== # ==================================================
# Copyright (c) 2005-2009 Artica Soluciones Tecnologicas # Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
# Please see http:#pandorafms.org for full contribution list # Please see http:#pandorafms.org for full contribution list
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
pandora_agent_version="3.0.0" pandora_agent_version="3.1.0"
echo "Test if you has the tools for to make the packages." echo "Test if you has the tools for to make the packages."
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null

View File

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
# ********************************************************************** # **********************************************************************
# Pandora FMS Generic Linux Agent # Pandora FMS Generic Linux Agent
# (c) 2009 Artica Soluciones Tecnológicas # (c) 2010 Artica Soluciones Tecnológicas
# with the help of many people. Please see http://pandorafms.org # with the help of many people. Please see http://pandorafms.org
# This code is licensed under GPL 2.0 license. # This code is licensed under GPL 2.0 license.
# ********************************************************************** # **********************************************************************
AGENT_VERSION=3.0 AGENT_VERSION=3.1
AGENT_BUILD=091216 AGENT_BUILD=100516
# ********************************************************************** # **********************************************************************
# function configure_agent() # function configure_agent()
@ -172,7 +172,7 @@ function configure_agent {
if [ "$CRON_MODE" == "0" ] if [ "$CRON_MODE" == "0" ]
then then
# Script banner at start # Script banner at start
echo "Pandora FMS Agent $AGENT_VERSION (c) Artica ST 2003-2009" echo "Pandora FMS Agent $AGENT_VERSION (c) Artica ST 2003-2010"
echo "This program is licensed under GPL2 Terms. http://pandorafms.org" echo "This program is licensed under GPL2 Terms. http://pandorafms.org"
echo "Running in $NOMBRE_HOST at $TIMESTAMP" echo "Running in $NOMBRE_HOST at $TIMESTAMP"
echo " " echo " "
@ -290,7 +290,7 @@ function recv_file {
then then
WD=`pwd` WD=`pwd`
cd $TEMP cd $TEMP
eval tentacle_client -v -g -a $SERVER_IP -p $SERVER_PORT $TENTACLE_OPTS $FILE > /dev/null 2> $PANDORA_LOGFILE.err eval tentacle_client -v -g -a $SERVER_IP -p $SERVER_PORT $TENTACLE_OPTS $FILE > /dev/null 2> $PANDORA_LOGFILE.err
STATUS=$? STATUS=$?
cd $WD cd $WD
return $STATUS return $STATUS
@ -298,7 +298,7 @@ function recv_file {
if [ "$TRANSFER_MODE" == "ssh" ] if [ "$TRANSFER_MODE" == "ssh" ]
then then
scp -P $SERVER_PORT pandora@$SERVER_IP:$SERVER_PATH/$FILE $TEMP > /dev/null 2> $PANDORA_LOGFILE.err scp -P $SERVER_PORT pandora@$SERVER_IP:$SERVER_PATH/$FILE $TEMP > /dev/null 2> $PANDORA_LOGFILE.err
return $? return $?
fi fi

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 3.0 # Version 3.1
# Licensed under GPL license v2, # Licensed under GPL license v2,
# (c) 2003-2009 Artica Soluciones Tecnologicas # (c) 2003-2010 Artica Soluciones Tecnologicas
# please visit http://pandora.sourceforge.net # please visit http://pandora.sourceforge.net
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Pandora FMS Linux Agent, startup script # Pandora FMS Linux Agent, startup script
# Copyright (c) 2006-2009 Artica ST, <info@artica.es> # Copyright (c) 2006-2010 Artica ST, <info@artica.es>
# Linux Version (generic), for SuSe and Debian/Ubuntu. # Linux Version (generic), for SuSe and Debian/Ubuntu.
# other Linux distros could not work properly without modifications # other Linux distros could not work properly without modifications
# v3.0.1 Build 091104 # v3.0.1 Build 091104
@ -11,7 +11,7 @@
# Provides: pandora_agent # Provides: pandora_agent
# Required-Start: $network # Required-Start: $network
# Required-Stop: $network # Required-Stop: $network
# Default-Start: 2 3 5 # Default-Start: 2 3 5
# Default-Stop: 0 1 6 # Default-Stop: 0 1 6
# Short-Description: Startup script daemon for Pandora FMS agent # Short-Description: Startup script daemon for Pandora FMS agent
# Description: Startup script daemon for Pandora FMS agent (linux) # Description: Startup script daemon for Pandora FMS agent (linux)
@ -59,7 +59,7 @@ case "$1" in
exit 1 exit 1
else else
echo "Stopping Pandora FMS Agent." echo "Stopping Pandora FMS Agent."
kill $PANDORA_PID > /dev/null 2>&1 kill $PANDORA_PID > /dev/null 2>&1
fi fi
;; ;;
@ -81,7 +81,7 @@ case "$1" in
;; ;;
*) *)
echo "Usage: /etc/init.d/pandora_agent_daemon {start|stop|restart|status|force-reload}" echo "Usage: /etc/init.d/pandora_agent_daemon {start|stop|restart|status|force-reload}"
exit 1 exit 1
esac esac

View File

@ -1,14 +1,14 @@
#!/bin/bash #!/bin/bash
# Pandora FMS Agent Installer (c) 2008-2009 Artica ST # Pandora FMS Agent Installer (c) 2008-2010 Artica ST
# 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.1 Build 091129 # v3.1.0 Build 100516
# This code is licensed under GPL 2.0 license. # This code is licensed under GPL 2.0 license.
# ********************************************************************** # **********************************************************************
PI_VERSION=3.0 PI_VERSION=3.1
PANDORA_BIN=/usr/bin/pandora_agent PANDORA_BIN=/usr/bin/pandora_agent
PANDORA_HOME=/usr/share/pandora_agent PANDORA_HOME=/usr/share/pandora_agent
PANDORA_TEMP=/var/spool/pandora/data_out PANDORA_TEMP=/var/spool/pandora/data_out
@ -212,7 +212,7 @@ help () {
# Script banner at start # Script banner at start
echo " " echo " "
echo "Pandora FMS Agent Installer $PI_VERSION (c) 2008-2009 ArticaST" echo "Pandora FMS Agent Installer $PI_VERSION (c) 2008-2010 ArticaST"
echo "This program is licensed under GPL2 Terms. http://pandorafms.com" echo "This program is licensed under GPL2 Terms. http://pandorafms.com"
echo " " echo " "