Commit Graph

202 Commits

Author SHA1 Message Date
ramonn cf3ce03383 2012-05-30 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from 4.0 branch. Check for valid regular
	  expressions before adding module conditions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 16:51:23 +00:00
zarzuelo d458a4792c 2012-05-10 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf
	unix/pandora_agent: Added units parameter to the 
	agent and added units to the default modules in
	conf for pending task #3520530



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-10 16:27:15 +00:00
darode ee218293ca 2012-05-08 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/Linux/pandora_agent.conf: Fixed an example module name.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-08 14:27:34 +00:00
darode f16a1ef2c8 2012-04-27 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/plugins/inventory: Fixed a small error related to inventory plugin

	MERGED FROM 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-27 10:53:50 +00:00
darode 38d0f61da5 2012-04-27 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/plugins/inventory,
	unix/Linux/pandora_agent.conf: Inventory improved: added Mac to NIC, 
	created new modules for IPs and Route table. Update pandora agent conf.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-27 10:12:29 +00:00
darode ed4aa3dddd 2012-04-26 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/plugins/inventory: Fixed inventory plugin



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 12:02:47 +00:00
darode a0d3f45aa5 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* unix/plugins/inventory: Fixed method of obtain
	runlevel to be valid on OpenSuse
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 12:01:40 +00:00
zarzuelo bba2910084 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* unix/plugins/inventory: Fixed method of obtain
	runlevel to be valid on OpenSuse
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 16:47:03 +00:00
zarzuelo 4037d8e3b4 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* win32/bin/pandora_agent.conf
	unix/Linux/pandora_agent.conf: Restore files changed
	by error in last commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 16:03:46 +00:00
zarzuelo d48ae7a199 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* unix/plugins/inventory: Fixed init_services inventory modules
	in machines /etc/rc.d/rcX.d paths instead of /etc/rcX.d/ paths
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 15:55:26 +00:00
mdtrooper a3236c252e 2012-04-25 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/make_deb_package.sh: disabled the checking
	the plugins files with same name.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 15:31:00 +00:00
zarzuelo 5dea8745a5 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* unix/plugins/inventory: Fixed several bugs in the
	inventory plugin as missed separator to end the parse,
	fill with empty string the empty columns, etc. for bug 3519796
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 15:07:33 +00:00
darode a043405ec5 2012-04-24 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf,
	unix/Linux/pandora_agent.conf: Added more examples of modules enabled and
	improved comments in config file for windows and linux.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 07:20:59 +00:00
ramonn 5da03e4bba 2012-04-24 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from 4.0 branch. Leave the secondary server
	  password empty by default. Fixes bug #3519520.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 09:31:27 +00:00
ramonn a65bd47469 2012-04-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Removed an unused variable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 13:32:10 +00:00
ramonn 724a989d7f 2012-04-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Backup and restore conf file and daemon
	  launcher. Moved the code that sets PANDORA_USER back to its original
	  place and set the variable properly instead.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 13:29:22 +00:00
koichirok 8a5e86820d 2012-04-19 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Also added the temporal directory to the file path
	 for symlink check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 12:19:30 +00:00
ramonn ae37653850 2012-04-18 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Add the temporal directory to the file path before
	  trying to send a buffered XML file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 15:35:39 +00:00
darode d45486d4ed 2012-04-18 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/pandora_agent: Fixed a problem detecting agent user to launch
	proxy mode. Added logger function when an error occurs.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 14:13:41 +00:00
ramonn 28ec9f0e84 2012-04-04 Ramon Novoa <rnovoa@artica.es>
* unix/tentacle_client,
	  shellscript/linux/tentacle_client,
	  shellscript/mac_osx/tentacle_client: Updated the Tentacle client to
	  the latest version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-04 13:44:55 +00:00
ramonn 66cddb12f7 2012-03-28 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Moved the code that sets PANDORA_USER to
	  the right place.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-28 17:39:07 +00:00
koichirok 029b45f9c1 2012-03-02 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Fixed bug of my previous commit (removed "qw").



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-02 06:43:14 +00:00
koichirok f5b84eabaa 2012-03-01 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Added symlink checks for temporary files before writing
	 them to avoid symlink attacks.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-01 10:38:10 +00:00
ramonn c82f3411f1 2012-02-29 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf: Added a warning text. Thanks to Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-29 11:39:29 +00:00
ramonn f1dcdc037e 2012-02-28 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf,
	  pandora_agent: Added support for xml_buffer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 15:48:26 +00:00
ramonn 7b64da51fe 2012-02-23 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Set the intensive interval before reading modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-23 13:01:32 +00:00
hkosaka e137ad8ba3 2012-02-10 Hirofumi Kosaka <kosaka@rworks.jp>
* pandora_agent: Allow filename wildcards to specify
	additional configuration files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 04:40:57 +00:00
ramonn aa8a2b2822 2012-01-03 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added support for intensive modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-03 17:18:45 +00:00
ramonn 6f0cf3386a 2011-12-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from 4.0 branch. Empty the broker PID array.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-19 15:45:38 +00:00
ramonn 25ab1c12c1 2011-12-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Wait for broker childs instead of ignoring
	  SIGCHLD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5282 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-19 15:40:22 +00:00
ramonn a7e635d83a 2011-12-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Ignore SIGCHLD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-19 11:26:05 +00:00
ramonn a67ff7dd7f 2011-12-16 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Empty modules, plugins and collections before
	  running a broker agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5274 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-16 13:38:22 +00:00
ramonn a8b8f6cb83 2011-12-14 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Do not display a warning if the output of a
	  pre-condition is not numeric.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-14 11:43:24 +00:00
ramonn 9111758387 2011-12-13 Ramon Novoa <rnovoa@artica.es>
* win32/installer/pandora.mpi,
	  win32/pandora_windows_service.cc,
	  win32/pandora.cc,
	  unix/DEBIAN/control,
	  unix/DEBIAN/make_deb_package.sh,
	  unix/pandora_agent.spec,
	  unix/pandora_agent: Fixed version strings (were wrong
	  in the previous commit).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-13 14:37:32 +00:00
ramonn 26ee70a3ec 2011-12-13 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Brokers do not need to
	  modify the path.

	* win32/installer/pandora.mpi,
	  win32/pandora.cc,
	  unix/DEBIAN/control,
	  unix/DEBIAN/make_deb_package.sh,
	  unix/pandora_agent.spec,
	  unix/pandora_agent: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-13 14:10:51 +00:00
koichirok 8d487fd13e 2011-12-07 KIKUCHI Koichiro <koichiro@rworks.jp>
* pandora_agent_installer: Removed duplicated lines and spaces to
	  tabs.  Also removed lines that set group to wheel (gid of wheel is 0).
	* plugins/files_indir: Added support for FreeBSD.
	* plugins/pandora_update: Fixed $conf_path for FreeBSD and spaces
	  to tabs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-07 10:07:43 +00:00
ramonn af6a48581a 2011-11-15 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Re-wrote broker agent code (was not working properly).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-15 13:33:16 +00:00
koichirok a3a5f7c257 2011-09-29 Koichiro Kikuchi <koichiro@rworks.jp>
* unix/pandora_agent.redhat.spec: Fixed wrong command paths in %prereq.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-29 10:37:38 +00:00
slerena b82de64e70 2011-09-26 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_installer, 
        unix/README,
        unix/pandora_agent: More version strings fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 11:22:46 +00:00
slerena 02fb28685b 2011-09-26 Sancho Lerena <slerena@artica.es>
* unix/HP-UX/pandora_agent.conf: Bad Disk module in HPUX




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 11:20:18 +00:00
slerena 49edb05f27 2011-09-26 Sancho Lerena <slerena@artica.es>
* unix/DEBIAN/control
        unix/DEBIAN/make_deb_package.sh
        unix/pandora_agent.spec
        unix/pandora_agent.redhat.spec: Updated version (4.0).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 10:26:49 +00:00
koichirok 532caca9eb 2011-09-13 Koichiro Kikuchi <koichiro@rworks.jp>
* unix/pandora_agent: Clear the old process information before
	  parsing current process information. Also added missing
	  load_procs() call to module_cpuproc().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-13 03:06:39 +00:00
ramonn c1518def7c 2011-09-05 Ramon Novoa <rnovoa@artica.es>
* unix/plugins/inventory: Added support for hwinfo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-05 13:09:21 +00:00
koichirok 20e5a21e4b 2011-09-05 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_daemon: Added support for OpenVZ/Virtuozzo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-05 09:52:18 +00:00
koichirok 4107ecca62 2011-09-02 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Now module_condition and module_precondition
	  accept numeric parameter without fractional part.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 06:05:47 +00:00
slerena c0c347ae9a 2011-09-01 Sancho Lerena <slerena@artica.es>
* unix/plugins/grep_log,
        shellscript/linux/plugins/grep_log: Restored previous code because
        it needs to start searching on the last position known. First time
        plugin starts, seek to the final position to avoid fire old events
        detected in the log. Plugin only gives new events once starts to work




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 12:59:21 +00:00
juanmanuelr 4e2113b839 2011-08-31 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* unix/plugins/grep_log
	shellscript/linux/plugins/grep_log: Changed parse_log
	function in order to retrieve token correctly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 10:38:15 +00:00
slerena fbd5606cb4 2011-08-22 Sancho Lerena <slerena@artica.es>
* pandora_agent.spec, 
        pandora_agent.redhat.spec (added) Updated specs to be used
        with OpenSUSE build service.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-22 00:45:36 +00:00
slerena 8ec75ff6c3 2011-08-19 Sancho Lerena <slerena@artica.es>
* DEBIAN/control
        DEBIAN/make_deb_package.sh: Updated version to 4.0RC1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 19:27:28 +00:00
slerena b246bda69a 2011-08-19 Sancho Lerena <slerena@artica.es>
* pandora_agents/unix/pandora_agent.spec: Updated spec.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 16:36:37 +00:00