Commit Graph

76 Commits

Author SHA1 Message Date
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 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 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
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
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
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
Ramon Novoa 437873ed32 2010-10-08 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Pass server_pwd and server_ssl configuration tokens
	  to tentacle. Fixes bug #3080299.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 14:04:23 +00:00
Ramon Novoa 2d67cefa7c 2010-10-07 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf: Added an example usage of the
	  agent_threads configuration token.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 09:18:13 +00:00
jsatoh 63b0c4a71f 2010-10-06 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent: Added FreeBSD specific commands.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 01:49:48 +00:00
Ramon Novoa f3b062d6ed 2010-10-04 Ramon Novoa <rnovoa@artica.es>
* plugins/inventory: Fixed inventory process information.

	* pandora_agent: Fixed an error that showed when no logfile was
	  specified in the agent configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 17:22:28 +00:00
jsatoh f2d39acd67 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 02:06:34 +00:00
jsatoh 545a0c13cf 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Changed PID detection method to support
	"jail", FreeBSD virtualization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:56:08 +00:00
jsatoh d0aec09389 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Set PANDORA_USER="root" when it is
	not defined.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:51:13 +00:00
slerena 1610883d02 2010-09-22 Sancho Lerena <slerena@artica.es>
* pandora_agent.spec: Updated RPM spec for SUSE




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 18:32:52 +00:00
Ramon Novoa 6797cab03c 2010-09-17 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added multi-thread support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3252 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 13:03:24 +00:00
jsatoh fb1eaccee6 2010-09-17 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/make_solaris_package/README,
	unix/SunOS/make_solaris_package/copyright,
	unix/SunOS/make_solaris_package/make_solaris_package.sh,
	unix/SunOS/make_solaris_package/prototype: Added agent package builder
	for Solaris.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 03:36:43 +00:00
jsatoh a7f9e8c5d8 2010-08-17 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_daemon, unix/tentacle_client: Added support for
	Solaris	virtualization, "zone".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-17 01:58:46 +00:00
Ramon Novoa 9b23c03c0c 2010-08-11 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Fixed collection issues related to the agent. See
          bug #3042577.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-11 16:14:49 +00:00
slerena 445ab2691e 2010-08-04 Sancho Lerena <slerena@artica.es>
* DEBIAN/control,
        pandora_agent.spec: Added unzip to dependencies (for file
        collection management).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 17:51:05 +00:00
mdtrooper d700b6664f 2010-08-04 Miguel de Dios <miguel.dedios@artica.es>
* pandora_agent_daemon: fixed user of daemon, it is root, not dario.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:56:54 +00:00
jsatoh d5795cf73c 2010-07-28 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/pandora_agent.conf: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-28 02:24:55 +00:00
Ramon Novoa 3e752dbe92 2010-07-21 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Delete unused collections.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 11:32:08 +00:00
Ramon Novoa ece05e4fda 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Fixed some directories and permissions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 11:37:29 +00:00
Ramon Novoa 5b49240177 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
2010-07-20 10:45:55 +00:00
Ramon Novoa 8588920076 2010-07-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added support for file collections.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 17:27:59 +00:00
Ramon Novoa 43bdb6d8d3 2010-07-12 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: changed the module cron configuration token to
          module_crontab.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 16:35:26 +00:00
Ramon Novoa 3a234628f9 2010-07-08 Ramon Novoa <rnovoa@artica.es>
* pandora_exec: Do not verify the command to allow pipes and complex
          commands.

        * pandora_agent: Quote the command passed to pandora_exec. Fixed
          the module cron. Modules without a module cron would not run.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 15:04:43 +00:00
jsatoh 3e4130c0f8 2010-07-05 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Fixed typo and directory permission
	for FreeBSD.
	
	* unix/FreeBSD/pandora_agent: Simplified.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-05 01:56:19 +00:00
Ramon Novoa a7b62691b3 2010-07-02 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Fixed a typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-02 14:21:05 +00:00
Ramon Novoa 9c61b60d97 2010-06-30 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Improved the module cron to allow intervals and
          multiple runs within an interval.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 19:13:41 +00:00
Ramon Novoa cd7c09796e 2010-06-30 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Call df with -P from the Linux abstraction layer
          to avoid split lines.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 15:51:45 +00:00
Ramon Novoa 17649b8c77 2010-06-25 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added the module_cron feature to schedule modules
          using a cron-like syntax.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2928 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 12:38:32 +00:00
Ramon Novoa 849dcd1178 2010-06-23 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added the module_save and module_condition features.
          See http://www.openideas.info/wiki/ for more information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-23 18:01:38 +00:00
jsatoh 84649ff12f 2010-06-14 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Set execute bit to startup script
	for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-14 02:38:10 +00:00