Commit Graph

582 Commits

Author SHA1 Message Date
hkosaka 433cfeb738 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
Ramon Novoa bf54328305 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
Ramon Novoa 8589da3b27 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
Ramon Novoa c67481b149 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
Ramon Novoa 9202627292 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
Ramon Novoa 4f9aacb7f0 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
Ramon Novoa 5e34c7e51d 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
Ramon Novoa f6818a7277 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
Ramon Novoa e726c32455 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
Ramon Novoa df857c0402 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
Ramon Novoa 72800f281a 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
Ramon Novoa 0efa0526f1 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
Ramon Novoa e3c87c9640 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
Ramon Novoa bc2253420b 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
Ramon Novoa becd47d5fa 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
Ramon Novoa 75116f7eba 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
Ramon Novoa 181c11c711 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
Ramon Novoa d3d14d51c8 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
Ramon Novoa 3c5b4ed39a 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 14097d7180 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
Ramon Novoa a59bdce0ad 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
Ramon Novoa 589278436f 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
Ramon Novoa 7544bac9a9 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
Ramon Novoa a2ff5e7380 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
Ramon Novoa d4b510c89c 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
Ramon Novoa 4e20886910 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
Ramon Novoa 73ac42e4c7 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
Ramon Novoa 6fd5410ebe 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
Ramon Novoa f2d1a13a85 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 16be0ee9d1 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 9f45d829dd 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 cbf9069d42 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 211f673bdf 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 218393044b 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 38e6363c1c 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 ffb92d5ba9 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 e89df1fb95 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 90d3b6d840 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 4a8060f7d7 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 42c5c8e140 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 9abdd317c6 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 afcc0eb6f0 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 8791afb503 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
slerena 8cea9bdb25 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 4adb6a7182 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 29a42066df 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
vgilc 2097aed8fe 2011-09-26 Vanessa Gil <vanessa.gil@artica.es>
* win32/windows/pandora_wmi.cc: Removed trace.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 10:22:29 +00:00
slerena ed5c6c7ed4 2011-09-23 Sancho Lerena <slerena@artica.es>
* installer/pandora.mpi: Updated string version in agent installer.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 14:46:05 +00:00
darode a087fa61f4 2011-09-22 Dario Rodriguez <dario.rodriguez@artica.es>
* bin/util/tentacle_server.exe: Added version with memory leak bug
	fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-22 14:01:00 +00:00
darode c65547879e 2011-09-16 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc: Fixed a problem generating broker conf
	files with wrong agent names.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-16 12:35:18 +00:00