Commit Graph

467 Commits

Author SHA1 Message Date
slerena 5ca2e7d0ae 2011-02-14 Sancho Lerena <slerena@artica.es>
* OpenWRT: Special files for OpenWRT/Perl version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 16:45:14 +00:00
ramonn 8d5553e3d2 2011-02-14 Ramon Novoa <rnovoa@artica.es>
* embedded/INSTALL: Added instructions to cross-compile for
	  OpenWRT (x86).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 15:40:26 +00:00
zarzuelo cb4a58d830 2011-02-10 Sergio Martin <sergio.martin@artica.es>
* android/src/pandroid/agent/PandroidAgent.java
	android/bin/Copy of Copy of Pandroid Agent.apk
	android/res/drawable-ldpi/logo.png
	android/res/drawable-ldpi/icon.png
	android/res/drawable-mdpi/logo.png
	android/res/drawable-mdpi/icon.png: Removed an unecessary apk
	file, added icons and logos to low and middle quality, 
	fixed xml file deletion, setted farscape as default host 
	and added to the default agent name a unique identifier



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-10 16:22:51 +00:00
ramonn c7e7cd1116 2011-02-10 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Detach threads to avoid excessive resource usage,
	  since threads were not joined until all modules were executed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-10 11:00:16 +00:00
zarzuelo 46fe1807b0 2011-02-07 Sergio Martin <sergio.martin@artica.es>
* android/.project
	android/AndroidManifest.xml: Adding a neccesary directive 
	for market on manifest and update the pandroid agent version 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 17:44:13 +00:00
zarzuelo 179ab3a080 2011-02-07 Sergio Martin <sergio.martin@artica.es>
* android/AndroidManifest.xml
	android/src/pandroid/agent/PandroidAgent.java
	android/src/pandroid/agent/PandroidAgentListener.java
	android/bin/pandroid/agent/PandroidAgentListener$2.class
	android/bin/pandroid/agent/PandroidAgentListener$3.class
	android/bin/pandroid/agent/PandroidAgentListener$MyLocationListener.class
	android/bin/pandroid/agent/PandroidAgentListener$1.class
	android/bin/pandroid/agent/PandroidAgent.class
	android/bin/pandroid/agent/PandroidAgentListener.class
	android/bin/pandroid/agent/PandroidAgent$1.class
	android/bin/pandroid/agent/PandroidAgent$2.class
	android/bin/pandroid/agent/PandroidAgent$3.class
	android/bin/pandroid/agent/PandroidAgent$4.class
	android/bin/pandroid/agent/PandroidAgent$5.class
	android/bin/pandroid/agent/PandroidAgent$6.class
	android/bin/pandroid/agent/PandroidAgent$7.class
	android/bin/resources.ap_
	android/bin/classes.dex
	android/res/drawable-hdpi/icon.png: Clean the code, changed the 
	app icon, added modules to the proximity and orientation sensors
	and fixed little bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3808 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 16:53:49 +00:00
javilanz 5d23835a94 2011-02-03 Javier Lanz <javier.lanz@artica.es>
* pandora_agent.c: Solved some leaks
	* pandora_agent.conf: Added some example modules
	* pandora_config.c: Added parse_config, fill module & fill setup functions
	* pandora_config.h: Fixed function prototypes
	* pandora_util.c: Added xml writer & trim functions
	* pandora_util.h: Added trim functions prototype 
	* pandora_type.h: Added pointer for the link list


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-03 17:25:38 +00:00
ramonn 7e3fb8621d 2011-02-03 Ramon Novoa <rnovoa@artica.es>
* win32/installer/pandora.mpi, win32/pandora.cc, unix/pandora_agent: Free
	  the threads semaphore when a module or plugin does not execute.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-03 09:44:04 +00:00
zarzuelo fa73112f55 2011-02-01 Sergio Martin <sergio.martin@artica.es>
* android/AndroidManifest.xml
	android/src/pandroid/agent/PandroidAgent.java
	android/src/pandroid/agent/PandroidAgentTentacle.java
	android/src/pandroid/agent/PandroidAgentListener.java
	android/src/pandroid/agent/EventReceiver.java
	android/bin/Pandroid Agent v0.3.apk
	android/bin/pandroid/agent/PandroidAgentListener$MyLocationListener.class
	android/bin/pandroid/agent/PandroidAgentListener$1.class
	android/bin/pandroid/agent/PandroidAgent.class
	android/bin/pandroid/agent/R$id.class
	android/bin/pandroid/agent/PandroidAgentListener.class
	android/bin/pandroid/agent/R$string.class
	android/bin/pandroid/agent/tentacle_client.class
	android/bin/pandroid/agent/R$layout.class
	android/bin/pandroid/agent/PandroidAgent$1.class
	android/bin/pandroid/agent/PandroidAgent$2.class
	android/bin/pandroid/agent/EventReceiver.class
	android/bin/pandroid/agent/PandroidAgent$3.class
	android/bin/pandroid/agent/PandroidAgent$4.class
	android/bin/pandroid/agent/PandroidAgent$5.class
	android/bin/pandroid/agent/PandroidAgent$6.class
	android/bin/pandroid/agent/PandroidAgent$7.class
	android/bin/resources.ap_
	android/bin/classes.dex
	android/res/layout/main.xml
	android/gen/pandroid/agent/R.java: Coded the heavy part of app to
	background in a service and changed the way of do the contact from
	loops to android alarms to fix the app sleep when screen off.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-01 17:36:54 +00:00
jsatoh d6c037bf09 2011-02-01 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent.conf: Fixed invalid cpu usage data is
	returned when system has only one disk device.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-01 01:50:55 +00:00
jsatoh 9143bda63b 2011-01-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_daemon: Changed order of 'su' argument.
	Username should be as the 1st argument on Solaris.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-27 01:54:34 +00:00
zarzuelo 6e6b0cba62 2011-01-26 Sergio Martin <sergio.martin@artica.es>
* android
	android/default.properties
	android/.classpath
	android/proguard.cfg
	android/assets
	android/.project
	android/AndroidManifest.xml
	android/src
	android/src/pandroid
	android/src/pandroid/agent
	android/src/pandroid/agent/PandroidAgentTentacle.java
	android/src/pandroid/agent/PandroidAgent.java
	android/bin
	android/bin/pandroid
	android/bin/pandroid/agent
	android/bin/pandroid/agent/PandroidAgent$8.class
	android/bin/pandroid/agent/PandroidAgent$9.class
	android/bin/pandroid/agent/PandroidAgent.class
	android/bin/pandroid/agent/R$id.class
	android/bin/pandroid/agent/PandroidAgent$MyLocationListener.class
	android/bin/pandroid/agent/R$string.class
	android/bin/pandroid/agent/tentacle_client.class
	android/bin/pandroid/agent/R$attr.class
	android/bin/pandroid/agent/R.class
	android/bin/pandroid/agent/R$layout.class
	android/bin/pandroid/agent/PandroidAgent$1.class
	android/bin/pandroid/agent/PandroidAgent$2.class
	android/bin/pandroid/agent/PandroidAgent$3.class
	android/bin/pandroid/agent/PandroidAgent$4.class
	android/bin/pandroid/agent/R$drawable.class
	android/bin/pandroid/agent/PandroidAgent$5.class
	android/bin/pandroid/agent/PandroidAgent$6.class
	android/bin/pandroid/agent/PandroidAgent$7.class
	android/bin/resources.ap_
	android/bin/Copy of Copy of Pandroid Agent.apk
	android/bin/classes.dex
	android/res
	android/res/values
	android/res/values/strings.xml
	android/res/drawable-hdpi
	android/res/drawable-hdpi/logo.png
	android/res/drawable-hdpi/icon.png
	android/res/drawable-ldpi
	android/res/drawable-ldpi/icon.png
	android/res/drawable-mdpi
	android/res/drawable-mdpi/icon.png
	android/res/layout
	android/res/layout/main.xml
	android/gen
	android/gen/pandroid
	android/gen/pandroid/agent
	android/gen/pandroid/agent/R.java: Created the
	first android agent with report of battery level 
	and basic GPS location coordinates report



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-26 19:15:48 +00:00
zarzuelo 3eb9224d0d 2011-01-26 Sergio Martin <sergio.martin@artica.es>
* android
	bsd-ipso
	bsd-ipso/AUTHORS
	bsd-ipso/pandora_agent_daemon
	bsd-ipso/pandora_agent.conf
	bsd-ipso/pandora_user.conf
	bsd-ipso/COPYING
	bsd-ipso/pandora_agent.sh
	bsd-ipso/README
	aix
	aix/pandora_agent_installer
	aix/pandora_agent
	aix/AUTHORS
	aix/pandora_agent_daemon
	aix/pandora_agent.conf
	aix/pandora_user.conf
	aix/COPYING
	aix/README
	mac_osx
	mac_osx/pandora_agent_installer
	mac_osx/plugins
	mac_osx/plugins/ipmi2xml
	mac_osx/plugins/ipmi2xml/ipmi2xml.php
	mac_osx/plugins/ipmi2xml/README.txt
	mac_osx/plugins/XServeRAID
	mac_osx/plugins/XServeRAID/xserve-raid-tools-1.2-1.uwhep.sl4.i386.rpm
	mac_osx/plugins/XServeRAID/xserve-raid-tools-1.2-1.rhel3.i386.rpm
	mac_osx/plugins/XServeRAID/pandora_agent.conf
	mac_osx/plugins/XServeRAID/check_xserve
	mac_osx/plugins/XServeRAID/xserve-raid-tools-1.2.tar.gz
	mac_osx/plugins/XServeRAID/README.txt
	mac_osx/plugins/SGE
	mac_osx/plugins/SGE/SGEStatus.sh
	mac_osx/plugins/SGE/README
	mac_osx/plugins/grep_log
	mac_osx/plugins/ppc_sensors
	mac_osx/pandora_agent
	mac_osx/AUTHORS
	mac_osx/pandora_agent.conf
	mac_osx/ChangeLog
	mac_osx/COPYING
	mac_osx/pandora_fms
	mac_osx/pandora_fms/StartupParameters.plist
	mac_osx/pandora_fms/pandora_fms
	mac_osx/Pandora FMS.pmdoc
	mac_osx/Pandora FMS.pmdoc/01pandora-contents.xml
	mac_osx/Pandora FMS.pmdoc/01pandora.xml
	mac_osx/Pandora FMS.pmdoc/index.xml
	mac_osx/README
	mac_osx/tentacle_client
	shellscript
	shellscript/linux
	shellscript/bsd-ipso
	shellscript/hp-ux
	shellscript/aix
	shellscript/meta_agent
	shellscript/mac_osx
	shellscript/solaris
	shellscript/openWRT
	openWRT
	openWRT/pandora_agent_async
	openWRT/pandora_serialread
	openWRT/contrib
	openWRT/contrib/pandora_agent_installer
	openWRT/contrib/S55pandora
	openWRT/contrib/pandora_agent_daemon
	openWRT/pandora_getsync
	openWRT/pandora_agent
	openWRT/AUTHORS
	openWRT/pandora_agent.conf
	openWRT/pandora_arduino.c
	openWRT/pandora_user.conf
	openWRT/COPYING
	openWRT/README.openwrt
	openWRT/README
	linux
	linux/pandora_agent_installer
	linux/plugins
	linux/plugins/inventory
	linux/plugins/pandora_df
	linux/plugins/grep_log
	linux/DEBIAN
	linux/DEBIAN/control
	linux/DEBIAN/postinst
	linux/DEBIAN/prerm
	linux/DEBIAN/conffiles
	linux/DEBIAN/make_deb_package.sh
	linux/DEBIAN/md5sums
	linux/pandora_agent
	linux/AUTHORS
	linux/pandora_agent_daemon
	linux/pandora_agent.conf
	linux/COPYING
	linux/pandora_agent.spec
	linux/README
	linux/tentacle_client
	hp-ux
	hp-ux/pandora_agent_installer
	hp-ux/pandora_agent
	hp-ux/AUTHORS
	hp-ux/pandora_agent_daemon
	hp-ux/pandora_agent.conf
	hp-ux/COPYING
	hp-ux/README
	meta_agent
	meta_agent/data_out
	meta_agent/pandora_agent_sim.sh
	meta_agent/AUTHORS
	meta_agent/pandora_agent_daemon
	meta_agent/INSTALL
	meta_agent/pandora_agent_1.conf
	meta_agent/pandora_agent_2.conf
	meta_agent/COPYING
	meta_agent/pandora_agent_3.conf
	meta_agent/pandora_agent_4.conf
	meta_agent/pandora_agent_5.conf
	meta_agent/README
	meta_agent/muestra_config.sh
	solaris
	solaris/pandora_agent_installer
	solaris/data_out
	solaris/pandora_agent
	solaris/AUTHORS
	solaris/pandora_agent_daemon
	solaris/pandora_agent.conf
	solaris/pandora_user.conf
	solaris/COPYING
	solaris/README: Reorganise the shellscript moving
	all the sh scripts to one folder



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-26 19:07:43 +00:00
slerena 4172871ecf 2011-01-22 Sancho Lerena <slerena@artica.es>
* pandora_agent.c: Uses pandora_types.h instead module_types.h. Now delete
	the XML after sent.

	* configure.in: Change version.

	* pandora_config.c: Read remote_config variable and other small changes.

	* pandora_util.c: New function to produce timestamp strings, now report
	timestamp in XML.

	* TODO: Small doc about design goals and pending things to implement.

	* pandora_type.h: Renamed file with contains all structs.

	* util/pandora_agent_installer: Specific installer for Busybox.

	* util/pandora_agent_daemon: Specific daemon launcher for Busybox.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-22 20:29:06 +00:00
slerena a264a8d61a 2011-01-22 Sancho Lerena <slerena@artica.es>
* First version of Pandora FMS Embedded C agent :-)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-22 03:53:56 +00:00
ramonn bae9b7f802 2010-12-28 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.spec: Added a release variable as in the rest of the
	  spec files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-28 16:27:59 +00:00
ramonn 0df6c57acd 2010-12-27 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent, win32/pandora.cc,
	  win32/installer/pandora.mpi: Updated version strings for the
	  3.2 release.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-27 18:30:40 +00:00
ramonn 52011f82f1 2010-12-27 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer, DEBIAN/postinst, DEBIAN/prerm,
	  DEBIAN/make_deb_package.sh, pandora_agent.spec,
	  pandora_agent, SunOS/make_solaris_package/prototype,
	  SunOS/make_solaris_package/make_solaris_package.sh,
	  pandora_agent_exec: Renamed pandora_exec to
	  pandora_agent_exec to avoid conflicts with the pandora_exec
	  script installed by the server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-27 10:18:20 +00:00
juanmanuelr 5368cb7721 2010-12-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* mac_osx/pandora_agent_installer: Fixed some problems settings permissions
        * mac_osx/pandora_agent: Fixed some problems with md5sum -> openssl md5 command
        * mac_osx/pandora_agent.conf: Commented some trouble modules
        * mac_osx/pandora_fms/pandora_fms: Fixed some problems starting / stoping daemon



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-23 13:06:43 +00:00
ramonn 329774bb99 2010-12-16 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer, pandora_agent_daemon: Additional
	  changes to run the agent as a different user. Starting and
	  stopping the daemon did not work except as root.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-16 19:34:22 +00:00
mdtrooper 74adbe54c4 2010-12-16 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/control, DEBIAN/make_deb_package.sh, pandora_console.spec,
	pandora_console.redhat.spec: update the version number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-16 17:28:27 +00:00
ramonn 033d4c6221 2010-12-10 Ramon Novoa <rnovoa@artica.es>
* bin/util/pandora_update.exe: Updated. Some paths may have been wrong.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-10 10:53:47 +00:00
jsatoh 3c75c7c603 2010-12-04 Junichi Satoh <junichi@rworks.jp>
* unix/plugins/pandora_update: Added support for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-04 06:22:44 +00:00
jsatoh 030fcdaf3f 2010-12-02 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/make_solaris_package/prototype: Added pandora_update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-02 03:32:41 +00:00
ramonn 7ab7b9ad0a 2010-12-01 Ramon Novoa <rnovoa@artica.es>
* plugins/pandora_update: Fixed md5 calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-01 15:38:47 +00:00
ramonn 845852ad3d 2010-12-01 Ramon Novoa <rnovoa@artica.es>
* bin/util/pandora_update.exe: Fixed md5 calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-01 15:38:07 +00:00
ramonn cd5dca3235 2010-12-01 Ramon Novoa <rnovoa@artica.es>
* unix/AIX/pandora_agent.conf, unix/pandora_agent,
	  win32/ChangeLog, win32/installer/pandora.mpi,
	  win32/pandora.cc: Updated version strings.
	
	* win32/bin/PandoraAgent.exe: Updated to r3644.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-01 11:32:47 +00:00
ramonn d12437667f 2010-11-29 Ramon Novoa <rnovoa@artica.es>
* bin/util/pandora_update.exe: Give the agent service some time to stop.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-29 12:51:58 +00:00
ramonn 5464253819 2010-11-29 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Remove all init symbolic links.

	* plugins/pandora_update: Give the agent daemon some time to stop.
	  Necessary on Windows.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-29 12:50:14 +00:00
slerena d96b006f5e 2010-11-26 Sancho Lerena <slerena@artica.es>
* pandora_agents/unix/DEBIAN/make_deb_package.sh,
	pandora_agents/unix/pandora_agent.spec,
	extras/build_deb.sh,
	pandora_console/DEBIAN/make_deb_package.sh,
	pandora_server/DEBIAN/make_deb_package.sh: Updated debian
	package generation (version update and small fixes/adjustements)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 22:48:13 +00:00
mdtrooper 946a8ea867 2010-11-25 Miguel de Dios <miguel.dedios@artica.es>
* trunk/pandora_agents/unix/ChangeLog,
	trunk/pandora_agents/unix/pandora_agent.spec,
	trunk/pandora_console/ChangeLog,
	trunk/pandora_console/pandora_console.redhat.spec:
	re-upload changes lost in previous commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 17:46:50 +00:00
slerena 698ab010c4 2010-11-25 Sancho Lerena <slerena@artica.es>
* Updated specs and control for make 3.2rc2 packages



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 17:29:59 +00:00
slerena a123dc9ea2 2010-11-25 Sancho Lerena <slerena@artica.es>
* pandora_agents/unix/pandora_agent.spec: Updated version
        string for RPM.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 16:17:37 +00:00
raulmateos 3171e37234 2010-11-23 Raul Mateos <raulofpandora@gmail.com>
* unix/DEBIAN/control: Fixed typo from last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 20:31:20 +00:00
raulmateos 63d47e87c9 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* LICENCE, Win32/README: Updated version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 19:34:32 +00:00
ramonn 9e356b3b80 2010-11-22 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Solaris specific fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 19:22:21 +00:00
raulmateos 216ce8c6f7 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* LICENCE, Win32/README: Updated version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 18:49:32 +00:00
ramonn 001f757791 2010-11-22 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf: Set root as the default pandora_user.

	* pandora_agent: Share the semaphore after creating it. Removed
	  an unnecessary require.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 15:07:40 +00:00
ramonn bab78e2683 2010-11-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent, AIX/pandora_agent.conf,
	  pandora_agent_daemon, Linux/pandora_agent.conf,
	  HP-UX/pandora_agent.conf, NT4/pandora_agent.conf,
	  SunOS/pandora_agent.conf, FreeBSD/pandora_agent.conf: Added a new
	  configuration option that lets the agent run as a different user
	  by changing the process' EUID.

	* pandora_agent_installer: Several fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 14:18:34 +00:00
ramonn 2cfdfa8d05 2010-11-18 Ramon Novoa <rnovoa@artica.es>
* bin/PandoraAgent.exe: Updated to r3583.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-18 11:18:30 +00:00
ramonn fddc209450 2010-11-17 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Fixed a typo in copyScpDataFile that made
	  it always return PANDORA_EXCEPTION.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 19:22:04 +00:00
ramonn 81bb7cd037 2010-11-15 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Search for event log descriptions
	  in multiple DLLs if necessary. Improved event log error detection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 16:30:26 +00:00
raulmateos c59bba0018 2010-11-15 Raul Mateos <raulofpandora@gmail.com>
* pandora_agent*, pandora_exec, plugins/pandora_update: Small changes:
	Year, version, spaces to tabs.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 10:32:23 +00:00
slerena d0f9ef293c 2010-11-14 Sancho Lerena <slerena@artica.es>
* plugins/pandora_update: Small tool (in perl), used also in windows
        (compiled as .exe), to auto-upgrade the software agents by stopping
        replacing the binary, and starting again the service/process, and also
        notifying the system about the upgrade. This will be possible using
        the new filecollection mechanism in 3.2 version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 01:39:50 +00:00
slerena 2d193c0060 2010-11-14 Sancho Lerena <slerena@artica.es>
* bin/util/pandora_update.exe: This small binary (see the Unix
        perl version to see the sources), allow to replace the running
        windows binary, by stopping the service and restarting it. Will
        allow automatic upgrades of the agent using the fille collection
        mechanism.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 01:37:56 +00:00
ramonn a1e23c0ab8 2010-11-12 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: isServiceRunning returns -1 for module
	  states other than "Running" and "Stopped".

	* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Return a non empty string if
	  the event description can not be read. Save the event id as an
	  unsigned long int to avoid overflows.

	* modules/pandora_module_service.cc,
	  modules/pandora_module_service.h: Aesthetic fix. Removed carriage
	  returns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-12 13:41:24 +00:00
mdtrooper e1dd530186 2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
	pandora_exec for Pandora Server and Pandora Agent, now make a
	pandora_exec.agent and try to link to pandora_exec.
	
	Fixes: #3106578



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 13:00:29 +00:00
mdtrooper b67bf7c71f 2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed the include the bigger NT4 files in the
	DEB package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 11:36:14 +00:00
ramonn 42c37e9b35 2010-11-08 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Re-wrote the module to avoid
	  using EVENTLOG_SEEK_READ, which seems to cause a lot of trouble.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 19:26:17 +00:00
ramonn d6b935083b 2010-11-05 Ramon Novoa <rnovoa@artica.es>
* installer/pandora.mpi: Updated installation messages.

	* pandora_windows_service.cc: startup_delay after the service is
	  started, not before. Read all secondary server parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 14:07:42 +00:00