Commit Graph

589 Commits

Author SHA1 Message Date
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 85fb03b2d2 2012-02-07 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Convert tentacle_timeout to milliseconds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 16:58:06 +00:00
ramonn 928f8c4bf9 2012-02-07 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Added a timeout to the tentacle
	  client execution.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 16:33:01 +00:00
ramonn 16ec9f1a8d 2012-02-02 Ramon Novoa <rnovoa@artica.es>
* installer/pandora.mpi: Added an uninstall action to delete
	  the agent's at job.

	* installer/scripts/delete_at_job.bat: Added to repository. Batch
	  script to delete the agent's at job.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5474 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-02 17:25:29 +00:00
ramonn a13ee797b7 2012-01-30 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_regexp.cc: Do not open the file in the
	  constructor to avoid trouble if other modules modify it before
	  the regexp module runs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-30 16:49:14 +00:00
ramonn 9ab9ae3784 2012-01-19 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_odbc.cc: Check for NULL pointers.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-19 12:38:36 +00:00
ramonn 0ff0bfb98f 2012-01-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Fixed an error when checking multiple
	  preconditions. Fixed precondition evaluation logic.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-04 16:09:11 +00:00
ramonn 83d5e29cb4 2012-01-03 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.h,
	  modules/pandora_module.h,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module.cc,
	  pandora_windows_service.cc: Added support for intensive modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-03 17:23:23 +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 7f46470d32 2011-12-14 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_perfcounter.cc,
	  modules/pandora_module_perfcounter.h: Use MinrGW's pdh.h
	  instead of our own definitions.

	* modules/pandora_module.cc: Fixed a bug in pre-conditions that led to an
	  infinite loop.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-14 10:38:53 +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
ramonn 7d5c264e5e 2011-12-12 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Removed some debugging messages.

	* modules/pandora_module.h,
	  modules/pandora_module.cc,
	  pandora_windows_service.cc: Fixed pre-conditions (were not working
	  properly).

	* modules/pandora_module_regexp.cc: Improved file status detection and
	  small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-12 17:11:06 +00:00
ramonn 345c3de2cd 2011-12-09 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Added a debug message.

	* modules/pandora_module_perfcounter.cc,
	  modules/pandora_module_perfcounter.h,
	  modules/pandora_module_factory.cc: Added support to read the
	  'cooked' value of a performance counter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-09 14:57:47 +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 2b9d5ba84f 2011-11-30 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Added support for regular
	  expressions to the pattern filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 16:52:43 +00:00
ramonn 9775e498b5 2011-11-29 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_snmpget.cc: Modified the call to snmpget.exe
	  to directly retrieve the value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 14:35:52 +00:00
ramonn cb2da4bade 2011-11-29 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.h,
	  modules/pandora_module_exec.cc,
	  modules/pandora_module_exec.h,
	  modules/pandora_module_list.cc,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module.cc,
	  Makefile.am: Added native ping and SNMP get modules that wrap the
	  calls to ping.exe and snmpget.exe.

	* modules/pandora_module_ping.h,
	  modules/pandora_module_snmpget.h,
	  modules/pandora_module_ping.cc,
	  modules/pandora_module_snmpget.cc: Added to repository. Ping and
	  SNMP get modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 13:19:34 +00:00
ramonn 0d2f39aa94 2011-11-29 Ramon Novoa <rnovoa@artica.es>
* bin/PandoraAgent.exe: Updated to current revision.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 13:10:03 +00:00
ramonn 1d0fad2df9 2011-11-24 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Use double instead of long for intermediate
	  result to avoid overflows. Fixes bug #3422900.

	* modules/pandora_module_perfcounter.cc: Print PDH errors in a more
	  descriptive format.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-24 18:18:14 +00:00
ramonn f260ae4bd7 2011-11-22 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Fixed a bug that resulted in a buffer
	  overflow.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-22 12:44:47 +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
ramonn 722d8bf10b 2011-11-15 Ramon Novoa <rnovoa@artica.es>
* build.sh, modules/pandora_module_odbc.cc, Makefile.am: Made
	  changes to cross-compile in openSUSE 11.4.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-15 13:10:24 +00:00
ramonn 746dc96625 2011-11-03 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.h,
	  pandora_windows_service.cc: Several fixes to the proxy mode and
	  broker agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-03 19:13:57 +00:00
jsatoh a06e2fa0be 2011-11-01 Junichi Satoh <junichi@rworks.jp>
* android/res/values-ja/strings.xml: Updated the help text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-01 08:04:08 +00:00
mdtrooper c5b62b153c 2011-10-31 Miguel de Dios <miguel.dedios@artica.es>
* android/src/pandroid/agent/PandroidAgentListener.java: fixed type of
	memory module.
	
	* android/res/values/strings.xml, android/res/values-en/strings.xml,
	android/res/values-es/strings.xml: rewrote the help text for to erase the
	references to proximity module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-31 13:47:56 +00:00
jsatoh 60c31ef0de 2011-10-29 Junichi Satoh <junichi@rworks.jp>
* android/res/values-ja/strings.xml: Updated the help text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-29 00:46:22 +00:00
mdtrooper 101a9d55aa 2011-10-28 Miguel de Dios <miguel.dedios@artica.es>
* android/AndroidManifest.xml: updated the number of version.
	
	* android/res/values/strings.xml, android/res/values-en/strings.xml,
	android/res/values-es/strings.xml: added the help text in other languages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-28 10:12:23 +00:00
slerena 7be57a1706 2011-10-27 Sancho Lerena <slerena@artica.es>
* res/values/strings.xml: Default string for "help" screen. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-27 18:10:06 +00:00
mdtrooper 2f7a45d01a 2011-10-24 Miguel de Dios <miguel.dedios@artica.es>
* android/src/pandroid/agent/PandroidAgentListener.java: fixed the
	location and change to show the percent memory free.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-24 16:32:14 +00:00
jsatoh ee660644d9 2011-10-24 Junichi Satoh <junichi@rworks.jp>
* android/res/values-ja/strings.xml: Added Japanese strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-24 00:27:07 +00:00
mdtrooper 71b0ac6703 2011-10-20 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added new activies and permission of batery.
	
	* src/pandroid/agent/PandroidAgent.java, src/pandroid/agent/Setup.java,
	src/pandroid/agent/Status.java,
	src/pandroid/agent/PandroidAgentListener.java,
	src/pandroid/agent/EventReceiver.java, src/pandroid/agent/Help.java,
	src/pandroid/agent/About.java: wip.
	
	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added strings and translations into spanish.

	* res/menu/options_menu.xml: added a menu file.

	* res/drawable-ldpi/help.png, res/drawable-ldpi/about.png,
	res/drawable-ldpi/pandorafms_logo.png: added image files.

	* res/layout/setup.xml, res/layout/status.xml, res/layout/help.xml,
	res/layout/about.xml: wip and added the need layout for new activies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 13:01:42 +00:00
mdtrooper c569d88237 2011-10-12 Miguel de Dios <miguel.dedios@artica.es>
* android/.classpath, android/libs/commons-lang3-3.0.1.jar: added the
	library "org.apache.commons.lang".
	
	* android/AndroidManifest.xml: added the activities Status and Setup. And
	apply theme the no titlebar to main activity.
	
	* android/res/drawable-hdpi/logo.png, android/res/drawable-hdpi/icon.png,
	android/res/drawable-mdpi/logo.png, android/res/drawable-mdpi/icon.png:
	removed the images with same size or quality for the subtypes devices.
	
	* android/res/layout/setup.xml, android/res/layout/status.xml: added the
	layouts for the new activies.
	
	* android/res/values/strings.xml: added the new strings.
	
	* android/src/pandroid/agent/Setup.java,
	android/src/pandroid/agent/Status.java: added the new activies.
	
	* android/src/pandroid/agent/Core.java: added utility class for the proyect.
	
	* android/src/pandroid/agent/PandroidAgent.java: added the lost comment
	header with the license. started to modify to show as tabactivity and other
	changes.
	
	* android/src/pandroid/agent/PandroidAgentTentacle.java: added the lost
	comment header with the license.

	* android/src/pandroid/agent/PandroidAgentListener.java: added the lost
	comment header with the license. And wip for the new data to monitorice.
	
	* android/src/pandroid/agent/EventReceiver.java: added the lost comment
	header with the license. And added some traces.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-12 18:58:48 +00:00
mdtrooper 9dc53508d6 2011-09-29 Miguel de Dios <miguel.dedios@artica.es>
* android/default.properties, android/AndroidManifest.xml: added permission
	to READ_PHONE_STATE and level up the SDK.
	
	* android/bin/*, android/gen/pandroid/agent/R.java: erased non source or
	config files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-30 08:39:45 +00:00
mdtrooper a006ee57fa 2011-09-29 Miguel de Dios <miguel.dedios@artica.es>
* android/default.properties, android/AndroidManifest.xml: added permission
	to READ_PHONE_STATE and level up the SDK.
	
	* android/bin/*, android/gen/pandroid/agent/R.java: erased non source or
	config files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-30 08:35:34 +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
darode b5ab155d5c 2011-09-26 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/PandoraAgent.exe, win32/bin/util/tentacle_server.exe: Added 
	lastest version of executables compiled



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 18:21:08 +00:00
darode 3d5ffbb084 2011-09-26 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_windows_service.cc: Fixed a problem sending XML with broker
	mode enabled (the "master" agent didn't report).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 17:25:53 +00:00