Commit Graph

83 Commits

Author SHA1 Message Date
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
slerena fe21083399 2010-10-08 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_daemon: Kill with -9 to be sure is killed,
        because UDP server mode "captures" the INT signal to restart
        the agent when receibe REFRESH AGENT on UDP client.

        * unix/Linux/pandora_agent.conf: New config tokens to support
        UDP server options.

        * unix/pandora_agent: UDP Server mode implemented in the
        Unix/Perl agent, only for REFRESH AGENT option, no remote commands
        possible.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3370 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 09:58:18 +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 49f8c027de 2010-09-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent, win32/modules/pandora_module.cc: Added
	  module_interval information to the data XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 15:03:06 +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
darode 2082a37ccb 2010-07-30 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/pandora_agent: Added code to change the nice parameter of the 
	pandora_agent process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 12:25:23 +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
darode 033040b10f 2010-07-20 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added a variable to
	control if the collection is added to the PATH.
	* win32/pandora_windows_service.h, pandora_windows_service.cc: Added logic
	to check if the collection is added to the PATH or not.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 16:38:29 +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
Ramon Novoa 598be13059 2010-06-18 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_exec: Added to repository. pandora_exec script.

        * unix/pandora_agent_installer, unix/DEBIAN/postinst,
          unix/DEBIAN/make_deb_package.sh, unix/pandora_agent.spec: Added the
          pandora_exec script to the installation.

        * unix/pandora_agent_daemon: Added support for running the agent as
          an unprivileged user.

        * unix/pandora_agent: Added timeout support for module_exec modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-18 12:36:19 +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
Ramon Novoa d35924cfb9 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Improved OS version detection. Disabled error output
          for plugins.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 12:24:15 +00:00
mdtrooper 0d71fa81f6 2010-06-09 Miguel de Dios <miguel.dedios@artica.es>
* unix/DEBIAN/make_deb_package.sh: added the code to include the man pages
	into DEB package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 12:15:48 +00:00
Ramon Novoa b6ff658c8d 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.spec: Create the man dir.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:44:10 +00:00
Ramon Novoa 90b8eb58e5 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer, pandora_agent.spec: Copy the man pages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:29:23 +00:00
Ramon Novoa fbf3500609 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* unix/man, unix/man/man1,
          unix/man/man1/pandora_agent.1.gz,
          unix/man/man1/tentacle_client.1.gz: Added to repository.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:03:00 +00:00
Ramon Novoa 157bf2ec94 2010-06-08 Ramon Novoa <rnovoa@artica.es>
* unix/DEBIAN/control, unix/DEBIAN/make_deb_package.sh,
          unix/pandora_agent.spec, unix/pandora_agent,
          win32/installer/pandora.mpi, win32/pandora.cc: Updated version
          strings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 17:06:14 +00:00
Ramon Novoa 6dfc360982 2010-06-08 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Removed the need for indexes in the abstraction layer.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 16:52:51 +00:00
Ramon Novoa 0c8ad5379e 2010-06-07 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added build information to the agent version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-07 14:16:41 +00:00
jsatoh c3f40dcf15 2010-06-07 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Added support for FreeBSD.

	* unix/FreeBSD/pandora_agent: Added startup script for FreeBSD.

	* unix/FreeBSD/pandora_agent.conf: Added configuration file for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-07 01:36:45 +00:00
Ramon Novoa d7f110d5ca 2010-06-04 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.spec: Fixed. Upgrading an RPM broke the installation.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-04 09:43:01 +00:00
mdtrooper 5f962a0ce1 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* unix/DEBIAN/prerm: disabled the erase conf file and plugin dir.
	
	* unix/DEBIAN/conffiles: added plugin directory.
	
	* unix/DEBIAN/make_deb_package.sh: cleaned source code, and now make the
	plugin empty dir for package builder.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 13:11:02 +00:00
Ramon Novoa 21f4bd7dbe 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* unix/DEBIAN/control, unix/DEBIAN/make_deb_package.sh: Renamed
          deb package.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 18:12:26 +00:00
mdtrooper 88a7e52238 2010-05-20 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/make_deb_package.sh: fixed the script to generate
	deb package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 16:16:34 +00:00
Ramon Novoa d80f3eb28a 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Updated agent version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 16:09:55 +00:00
zarzuelo 41839d69f7 2010-05-20 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf: Improved the
	agent modules memused and proctotal



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 15:47:25 +00:00
Ramon Novoa 67b8d8b1d4 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent_installer, unix/DEBIAN/control,
          unix/DEBIAN/make_deb_package.sh, unix/pandora_agent.spec,
          unix/pandora_agent, linux/DEBIAN/make_deb_package.sh,
          linux/pandora_agent.spec: Updated for the release of Pandora FMS 3.1 RC1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 13:09:50 +00:00
mdtrooper abed6af2c3 2010-05-20 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed the permissions to DEBIAN temp package. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 10:59:20 +00:00