Commit Graph

133 Commits

Author SHA1 Message Date
darode 67c4e33021 2011-04-13 Dario Rodriguez <dario.rodriguez@artica.es>
* AIX/pandora_agent.conf, Linux/pandora_agent.conf, HP-UX/pandora_agent.conf
	SunOS/pandora_agent.conf: Deleted proxy_user parameter because is not 
	needed. Also fixed some comments.	
	* pandora_agent: Resctricted Proxy Mode to non root users. The agent must
	be launched by a non root user to use Proxy Mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 08:15:16 +00:00
darode c46c0d86dd 2011-04-12 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_daemon: Deleted code that kill tentacle server and
	replaced kill -9 to kill of agent stop command.
	* Linux/pandora_agent.conf, AIX/pandora_agent.conf, 
	HP-UX/pandora_agent.conf,SunOS/pandora_agent.conf : Added parameters 
	proxy_max_connection and proxy_timeout 1.
	* pandora_agent: Fixed problems launching tentacle_server and also 
	added code to handle kill signal.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 15:09:25 +00:00
darode 9d524f3b3f 2011-04-11 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Added code to install tentacle_server with
	pandora agent.
	* AIX/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.
	* tentacle_server: Added tentacle server with proxy support.
	* pandora_agent_daemon: Add feature to stop tentacle_server when
	pandora agent stops.
	* Linux/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.
	* HP-UX/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.
	* pandora_agent: Added support to tentacle_server and proxy_mode.
	* SunOS/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 16:35:45 +00:00
darode 8cacaf1cc2 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Fixed an error with chown in AIX OS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 18:19:11 +00:00
darode 532b4fbdf7 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* plugins/pandora_update: Fixed a problem getting pandora_agent pid
	in SunOS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 15:49:13 +00:00
darode a6dc81916c 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Added correct user to tentacle_client binary.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 15:47:44 +00:00
darode 416a4da4d7 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Modified agent isntaller to deal with 
	specified user installation. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 10:42:57 +00:00
darode 540a3931ca 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* plugins/pandora_update: Modified plugin for agent autoupdate.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 09:33:35 +00:00
darode a7025d6e91 2011-03-17 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/pandora_agent: Fixed a typo with logfile parameter. Also fixed
	the gathering of secondary_server_opts parameters when transfer mode is 
	Tentacle. Thanks to KIKUCHI Koichiro for the report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 13:49:15 +00:00
Ramon Novoa c63273b0be 2011-03-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 15:40:16 +00:00
Ramon Novoa d3701182d0 2011-03-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added a module to get the ocupied space % in a
	  partition.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 10:16:01 +00:00
Ramon Novoa 6f9a411433 2011-03-02 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_factory.cc, unix/pandora_agent: Changed
	  module_post_process to module_postprocess to match the documentation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 10:41:29 +00:00
Ramon Novoa 6c2489b4c7 2011-03-01 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module.h,
	  win32/modules/pandora_module_factory.cc,
	  win32/modules/pandora_module.cc,
	  unix/pandora_agent,
	  shellscript/linux/pandora_agent: Set the module min, max and
	  post_process in the XML data file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 14:45:32 +00:00
Ramon Novoa ebe6865c91 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/postinst: Updated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 19:08:01 +00:00
slerena df09714aa1 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
Ramon Novoa f414ca2b9f 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
Ramon Novoa bc89d98ab2 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
jsatoh 1c1cf80f6f 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 a6c7692c67 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
Ramon Novoa 5249b239fd 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
Ramon Novoa 63f926fba5 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
Ramon Novoa 7426589233 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
Ramon Novoa a137da643c 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 cd47ce6f96 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
jsatoh 7e5eeba045 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 fb8c196acf 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
Ramon Novoa 0edf5e76a5 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
Ramon Novoa d90290030d 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
Ramon Novoa aa2356b40c 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 c9c2b83169 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 0996e9e87b 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 e12e747a91 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 3eb73e7d63 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 9ce1095717 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 084e864e89 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
Ramon Novoa 0d5c224085 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
Ramon Novoa 1b6dc5fdb4 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
Ramon Novoa e039d58020 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
raulmateos 83368c071f 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 730f0d6a30 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
mdtrooper 5ad305bc2d 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 b4d092426d 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
slerena 239c6e3aac 2010-11-04 Sancho Lerena <slerena@artica.es>
* NT4: New binary version of Unix perl agent for NT4, with some tools.
        .exe compiled with ActiveState SDK 9.0

        * pandora_agent: Some small modifications to make it work nicely in 
        windows boxes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 19:34:04 +00:00
raulmateos ea7fd32e1f 2010-11-02 Raul Mateos <raulofpandora@gmail.com>
* tentacle_client: Fixed year from last commit. Converted some spaces to tab.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 12:18:14 +00:00
mdtrooper 8e97e0c64c 2010-11-02 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: uploaded lost lines of my commit of yesterday.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 11:42:27 +00:00
mdtrooper 020cae959a 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/conffiles, DEBIAN/make_deb_package.sh: fixed the
	warning of check md5sum on dir "plugins". Now the dir "plugins" is filled
	postinstall with the package plugins in temp directory, the copy is
	interactive for don't overwrite the user modified plugins of previous
	installation.
	
	Fixes: #3081496



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 19:58:21 +00:00
mdtrooper a4d44e6ae5 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed recursive infinite loop with try to
	copy "temp_package" into "temp_package/usr/share/pandora_agent/temp_package"
	again and again.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 17:46:29 +00:00
slerena d75fa19bf5 2010-11-01 Sancho Lerena <slerena@artica.es>
* unix/tentacle_client: Updated tentacle client to 0.30 version,
        with support for HTTP proxies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 14:32:40 +00:00
jsatoh 9ce6297c53 2010-10-19 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/make_solaris_package/prototype: Added nagios_plugin_wrapper.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 00:57:15 +00:00
slerena 636ad58d41 2010-10-15 SAncho Lerena <slerena@artica.es>
* plugins/nagios_plugin_wrapper: Added new plugin.

        * pandora_agent: Version update.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 10:56:56 +00:00