Commit Graph

415 Commits

Author SHA1 Message Date
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
slerena 1153cfdff5 2010-10-29 Sancho Lerena <slerena@artica.es>
* win32/bin/util/mibs: Added default mibs for the small snmpagent
    * tool.

    * win32/bin/util/getsnmp.bat,
    win32/bin/util/snmpget.exe: Added tool to get snmp info from the
    agent using tool from a module_exec.

    * win32/installer/pandora.mpi: Updated installer to have snmpget and
    mibs in the install process.

    * win32/pandora_windows_service.cc: Fixed bug 3098165.

    * win32/pandora.cc: Updated version


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3482 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 15:50:43 +00:00
Ramon Novoa 76d230a1e6 2010-10-27 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: We need more information on error
	  997, ignore it for now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 11:52:07 +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
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 e1685c7b77 2010-10-04 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed inventory NIC information.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 17:24:10 +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
Ramon Novoa d8640d3b50 2010-10-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_inventory.cc: Fixed XML generation for
	  inventory modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 14:02:27 +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
Ramon Novoa 53c2257fca 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* Makefile.am: Use -static-libstdc++ to remove the dependency on
          libstdc++-6.dll.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 18:26:43 +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
Ramon Novoa 8855493ec9 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Free the collection if it can not
          be added to the list.

        * Makefile.am: Use -static-libgcc to remove the dependency on
          libgcc_s_sjlj-1.dll.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 17:47:44 +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 12eecb341f 2010-08-04 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/collections: Added collections directory.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:45:59 +00:00
Ramon Novoa 6edb348195 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Run action commands through cmd.exe.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:28:25 +00:00
darode 1cd9608ae3 2010-07-30 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/installer/pandora.mpi: Added collections directory in the windows 
	installer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:17:31 +00:00
slerena 48d137cd7f 2010-08-04 Sancho Lerena <slerena@artica.es>
* win32/bin/util/df_percent.vbs: New VBS plugin to detect all 
        hardrives and return free disk on %.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 14:57:56 +00:00
Ramon Novoa 1df39b4c9d 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Changed sscanf format strings. They did
          not seem to work well in native Windows.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 12:38:42 +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 2b18bd0ef7 2010-07-21 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added logic to search 
	existing collections in config file, and checking for ".." substrings in 
	path for security reasons.
	* win32/pandora_windows_service.h, pandora_windows_service.cc: Added logic
	to remove incoherences between collections directory and collection list 
	of config file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 10:03:20 +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
darode 24f85e81ca 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc: fixed error that caused double free.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 12:42:38 +00:00
darode afb6e012a9 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc: fixed unclosed directory with function closedir
	and control posible delete errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 12:28:49 +00:00
darode e78abe09af 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc: fixed unclosed directory with function closedir.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 12:10:49 +00:00
darode d830a9dc36 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/util/unzip.exe: Added to bin/utils to use it to unzip 
	collections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 11:57:09 +00:00
darode 1ab8d24ba5 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc, pandora_file.h: Added function to remove directories
	recursively

        * win32/pandora_windows_service.cc, pandora_windows_service.h: Added
        support for unzip collections and improved functionality to manage
	collections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 11:43:07 +00:00
darode 16f3d39f87 2010-07-14 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added functionality
	to get collection from configuration file.
        * win32/pandora_windows_service.cc, pandora_windows_service.h: Added
	support for manage collections



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-14 17:16:08 +00:00
darode 76e22972cf 2010-07-13 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_conf.cc: Added support to parse collections
	* pandora_agent_conf.h: Added support to parse collections



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 17:24:00 +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