Commit Graph

803 Commits

Author SHA1 Message Date
jsatoh 79b100e19b 2013-01-11 Junichi Satoh <junichi@rworks.jp>
* SunOS/make_solaris_package/make_solaris_package.sh: Updated
	AGENT_VERSION string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-11 04:30:15 +00:00
slerena 9c8d0c052e 2012-12-17 Sancho Lerena <slerena@artica.es>
* pandora_agent: Updated version

        * plugins/who.sh,
        plugins/top.sh:	New plugins for	command	snapshots.

        * plugins/inventory: Merged with fixes and new kernel module from
        4.0.3 branch. Tested on	Redhat and SUSE.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 16:33:15 +00:00
ramonn 922b3e3524 2012-12-12 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Changed the flags of
	  LoadLibraryEx. Fixes a bug when loading event descriptions
	  from exe files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 11:49:44 +00:00
zarzuelo a48e81bc44 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.h
	  pandora_windows_service.cc: Added support for
	gis_exec (Automatic gis coordinates)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-21 17:13:05 +00:00
zarzuelo 2af04c7514 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Fixed some bugs
	of the type conversions 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:39:11 +00:00
zarzuelo 7a6d1700b0 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added support for
	custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:29:00 +00:00
zarzuelo c781b536d8 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Fix a few
	variable declaration bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 09:26:04 +00:00
zarzuelo 8c80cf54ea 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Added macros
	support to the module_exec command of the module
	configuration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 09:15:14 +00:00
zarzuelo ee34a103ce 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added new fields of 
	agent in XML header like custom_id and url_address.
	Added coordinates data (not gis_exec yet)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 15:57:56 +00:00
zarzuelo 699a99b4bd 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module.h
	modules/pandora_module.cc: Fixed type conflicts in the
	last changes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 14:30:35 +00:00
zarzuelo 7987cf692e 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module.h
	modules/pandora_module_factory.cc
	modules/pandora_module.cc: Added several new module fields
	to the XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 08:23:49 +00:00
zarzuelo 23a7349ab9 2012-11-15 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added support to the new fields of the
	agent in the XML: custom_id, url_addres and custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-15 15:53:45 +00:00
zarzuelo 992665f1bc 2012-11-13 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added several fields to the XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 12:24:36 +00:00
markholland 59540c1522 2012-09-24 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/ChangeLog:
	Wasn´t added in last commit

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 16:45:19 +00:00
markholland 63bf6c948f 2012-09-24 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java:
	Removed asynctask when making contact in attempt
	to fix configuration loss after x time

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 16:43:51 +00:00
markholland 4fbc5cc736 2012-08-24 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java:
	Reverted to original writeFile method, changed
	xml encoding header to iso-8859-1

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 15:16:56 +00:00
zarzuelo 80394960cd 2012-09-12 Sergio Martin <sergio.martin@artica.es>
* src/pandroid/agent/PandroidAgent.java
	src/pandroid/agent/PandroidAgentTentacle.java
	src/pandroid/agent/Status.java
	src/pandroid/agent/PandroidAgentListener.java
	res/drawable-xhdpi/ic_launcher.png
	res/drawable-xhdpi/logo.png
	res/drawable-xhdpi/pandroid_large.png
	res/drawable-hdpi/ic_launcher.png
	res/drawable-ldpi/ic_launcher.png
	res/drawable-ldpi/logo.png
	res/drawable-ldpi/pandroid_large.png
	res/drawable-mdpi/ic_launcher.png: Fixed some
	warnings of not used variables and includes.
	Added new designs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-12 10:44:53 +00:00
jsatoh bd5abdf277 2012-08-28 Junichi Satoh <junichi@rworks.jp>
* pandora_agent: Improved to be able to use CRLF in pandora_agent.conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-28 04:42:28 +00:00
jsatoh cf58c999c6 2012-08-25 Junichi Satoh <junichi@rworks.jp>
* res/values-ja/strings.xml: Fixed wrong Japanese translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-25 08:14:59 +00:00
markholland 0633856ce1 2012-08-24 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added experimental start
	pandroid on device boot(not operational)

	* res/layout/setup.xml: Removed duplicate password
	button

	* res/layout/setupnosim.xml: Removed unused text view

	* src/pandroid/agent/core.java: set inventory to disabled
	by default

	* src/pandroid/agent/PandroidAgentListener.java: Fixed
	inventory report if condition

	* src/pandroid/agent/PandroidAgentTentacle.java: Fixed if
	condition when server response == null, Changed how data
	is written to serverOutput, fixes utf-8.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-24 01:43:50 +00:00
markholland 85b6b1f0fe 2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
	ic_launcher

	* res/drawable-hdpi: Added notification icon

	* res/drawable-ldpi: Added notification icon

	* res/drawable-mdpi: Added notification icon

	* res/drawable-xhdpi: Added notification icon

	* res/layout/setup.xml: Added inventory report checkbox,
	notification checkbox and stop/restart listener buttons.

	* res/layout/setupnosim.xml: Added inventory report checkbox,
	notification checkbox and stop/restart listener buttons.

	* res/values/strings.xml: Added strings for notification and
	stop/restart buttons, reflected in all locales

	* src/pandroid/agent/core.java: Added variables for notification
	and inventory report, fixed agentname, mobileurl mixup.

	* src/pandroid/agent/PandroidAgent.java: Removed splash screen, 
	Added check if app launched before and only restarts listener in
	this case. Added onPause and onDestroy methods to ensure no settings
	loss.

	* src/pandroid/agent/PandroidAgentListener.java: Added optional
	notification when pandroid alarm is enabled, removed loading toast,
	added inventory enabled check, added cancel notification method,
	changed xml format to utf-8(untested)

	* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or 
	https:// then http:// added automatically. Added stop/restart listener
	buttons, added inventory report and notification checkbox

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 02:57:53 +00:00
markholland 8de49348a2 2012-08-20 Mark Holland <mark@mark-holland.me.uk>
* Pandroid Agent v3.0.apk: Added apk of pandroid so that
	anyone can test it.
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 07:26:56 +00:00
markholland 1b688d18ad 2012-08-19 Mark Holland <mark@mark-holland.me.uk>
* res/layout/drawable-hdpi: Added help and about icons
	from sdk	

	* res/layout/drawable-ldpi: Added new vector images.
	Added help and about icons from sdk.

	* res/layout/drawable-mdpi:Added help and about icons
	from sdk.

	* res/layout/drawable-xhdpi: Added new higher
	resolution images. Added help and about icons from sdk

	* res/layout/password_choose.xml: UI tweak

	* res/layout/password_create.xml: UI tweak

	* res/layout/setup.xml: Changed webURL id, moved position
	of task spinner.

	* res/layout/setupnosim.xml: Changed webURL id, moved
	position of task spinner.

	* res/layout/status.xml: Removed start, stop, show and 
	hide xml buttons.

	* res/layout/statusnosim.xml: Removed start, stop, show 
	and hide xml buttons.

	* res/layout/welcome.xml: Added splash screen view with
	pandroid logo and version 3.0 text.

	* res/values/strings.xml: Changed order of strings to be
	more structured, removed unused correct_update string,
	fixed the "..." in loading string, fixed copyright symbol,
	added strings for seconds, runnning and stopped that were
	previously hardcoded, fixed apostrophe in don't.

	* res/values-de/strings.xml: Added strings for German locale

	* res/values-es/strings.xml: Added strings for Spanish locale
	
	* res/values-fr/strings.xml: Added strings for French locale

	* res/values-it/strings.xml: Added strings for Italian locale

	* res/values-ja/strings.xml: Added strings for Japanese locale

	* res/values-pt/strings.xml: Added strings for Portuguese locale

	* res/values-zh/strings.xml: Added strings for Chinese(simplified)
	locale

	* src/pandroid/agent/About.java: Changed URL to pandorafms.com from
	.org

	* src/pandroid/agent/core.java: Changed mobile url variable, 

	* src/pandroid/agent/Installation.java: Added comment explaining class.

	* src/pandroid/agent/PandroidAgent.java: Added splash screen dialog

	* src/pandroid/agent/PandroidAgentListener.java: Added loading toast on
	connect, moved contact into an asynctask, added application inventory to
	xml(app name;version;package name), fixed battery level to work on first
	connect, made all get methods private.

	* src/pandroid/agent/setup.java: Auto add http:// to mobile web url.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Changed variable name.

	* src/pandroid/agent/status.java: swapped hardcoded strings to ones from
	res.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 06:23:11 +00:00
jsatoh ac75db97e6 2012-08-15 Junichi Satoh <junichi@rworks.jp>
* pandora_agent: Changed not to use thread library when agent_threads
	is set to 1 or undefined. This change is to avoid RHEL/CentOS 5 perl
	thread library bug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-15 02:06:52 +00:00
ramonn b4b233c478 2012-08-03 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Get the EventID from the
	  InstanceID. Seems like Microsoft replaced Eventid with InstanceID at
	  some point.

	* pc/pandora_agent.mpi: Fixed some paths.

	* pc/tentacle_client,
	  unix/tentacle_client,
	  shellscript/linux/tentacle_client,
	  shellscript/mac_osx/tentacle_client: Specify the socket type. On some
	  OSs (like certain versions of Solaris) it can't be guessed and results in an error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 12:03:59 +00:00
markholland 09eb9c14a2 2012-08-03 Mark Holland <mark@mark-holland.me.uk>
* res/layout/password_entry.xml: UI tweaks

	* res/layout/setup.xml: Added mobile console
	textview and button

	* res/layout/setupnosim.xml: Added mobile console
	textview and button

	* res/layout/status.xml: Added roaming view

	* res/values/strings.xml: string for roaming, 
	roaming report, mobile site

	* src/pandroid/agent/core.java: Added variables
	for roaming and mobile site url

	* src/pandroid/agent/PandroidAgentListener.java: 
 	Added roaming report method and variables then add
	to xml

	* src/pandroid/agent/setup.java: Added mobile site
	view and full screen password input

	* src/pandroid/agent/status.java: Added roaming view

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 04:54:40 +00:00
zarzuelo af1fc6eba3 2012-08-01 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Add the macros support in module_exec



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-01 16:35:40 +00:00
markholland 1b9b0c4b21 2012-07-09 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added Pandora FMS 
	comment to header.

	* res/layout/About.xml: Swapped hardcoded
	text for strings.

	* res/layout/help.xml: Added scrollview.

	* res/layout/password_choose.xml: View for dialog
	when choosing whether to have a password.

	* res/layout/password_create.xml: Added textviews
	with instructions.

	* res/layout/password_entry.xml: Swapped hardcoded
	text for strings.

	* res/layout/setup.xml: Added checkboxes for all
	modules.

	* res/layout/setupnosim.xml: View that only
	shows checkboxes for modules that don't need a sim
	card present.

	* res/values/strings.xml: Updated help string
	(english only). Lots of new strings, also
	added to strings-en and strings-es.

	* src/pandroid/agent/About.java: Added Pandora FMS 
	comment to header.

	* src/pandroid/agent/core.java: Added Pandora FMS 
	comment to header. Added variable for hello signal.
	Added reporting variables for all modules. Changed 
	alarm to be accessed in a static way. changed agent
	identifier from pandroid plus simID to pandroid plus
	install uid.

	* src/pandroid/agent/Help.java:	Added Pandora FMS 
	comment to header.

	* src/pandroid/agent/Installation.java: Calculates a
	unique installation uid.

	* src/pandroid/agent/PandroidAgent.java: hasSim now 
	works whether phone without sim and also tablet without
	capability for sim card. On resume sets hello signal to 1.

	* src/pandroid/agent/PandroidAgentListener.java: Removed
	unnecessary variables, all defaults come from Core.java.
	Ensure Hello signal changed to 0 after every connection.
	Variables for all module reporting, data only added to xml
	if enabled in setup.

	* src/pandroid/agent/setup.java: Added Pandora FMS 
	comment to header. Different views loaded depending
	on whether sim card is present. Added button for changing
	password. Added checkboxes for all modules. Added dialog
	for choosing whether to set a password. Added minimum
	password length and empty to remove password. Keyboard 
	dismissed upon completing dialogs.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Added 
	Pandora FMS comment to header.

	* src/pandroid/agent/status.java: Added Pandora FMS 
	comment to header. Remove incorrect toast message
	when pressing start button.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-09 08:35:48 +00:00
markholland 5a4b64bc1b 2012-07-04 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added permissions read_contacts
	and read_sms

	* res/layout/password_create.xml: Created view for
	password creation dialogue

	* res/layout/password_entry.xml: Created view for
	password entry dialogue

	* res/layout/status.xml: Converted most of data 
	into a table layout

	* res/layout/statusnosim.xml: Created status view
	only showing the data avaliable when device has
	no sim card

	* res/values/strings.xml: Added strings for bytes
	sent/received and password dialogues

	* src/pandroid/agent/core.java: added variables for
	bytes sent/received, hasSim and password. Changed 
	signal strength to integer.

	* src/pandroid/agent/PAndroidAgent.java: Added check
	if sim card present. Method for switching tabs from
	activities.

	* src/pandroid/agent/PandroidAgentListener.java: Added
	variables for bytes sent/received. Now if no sim card
	present SimID, NetworkOperator, SMSSent, NetworkType,
        PhoneType, SignalStrength, Calls, DataBytes modules aren't 		used or sent.

	* src/pandroid/agent/setup.java: Added methods for
	creating password and entering password when switching
	to setup tab(not completed). Added checkbox for simId
	and task reporting

	* src/pandroid/agent/status.java: Checks if sim present
	and displays view accordingly.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-04 01:32:06 +00:00
koichirok 9de54ccf84 2012-06-27 Koichiro Kikuchi <koichiro@rworks.jp>
* ChangeLog: Fixed log entry date of my previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-27 06:59:53 +00:00
koichirok dd1d074877 2012-06-21 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent.redhat.spec: Merged from 4.0 branch. Don't create
	 pandora user if already exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-27 06:54:08 +00:00
markholland b919233e4a 2012-06-26 Mark Holland <mark@mark-holland.me.uk>
* res/values/strings.xml: Added strings for 
	smsReceived, networkType, phoneType and calls.
	Replicated in values-en and values-es.

	* res/layout/setup.xml: Added checkboxes for simID
	and task reporting.

	* res/layout/status.xml: Added textviews for new data.

	* src/pandroid/agent/core.java: set simID
	reporting as disabled by default. Added variables
	for networkOperator, networkType, phoneType,
	signalStrength, incoming, missed and outgoing calls.

	* src/pandroid/agent/PandroidAgentListener.java: task,
	smsReceived, networkType, phoneType and calls methods
	and then added to XML. simID now checks whether
	enabled in user configuration.

	* src/pandroid/agent/setup.java: Added spinner for task
	selection.

	* src/pandroid/agent/SMSActivity.java: removed

	* src/pandroid/agent/SMSBroadcastReceiver.java: upon
	receiving a smsreceived intent, increments the stored
	number of smsReceived.

	* src/pandroid/agent/status.java: Added textviews for
	new methods mentioned above.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-26 00:47:47 +00:00
ramonn 7d76c88f9a 2012-06-21 Ramon Novoa <rnovoa@artica.es>
* win32/bin/pandora_agent.conf,
	  win32/installer/pandora.mpi,
	  win32/versioninfo.rc,
	  win32/pandora.cc,
	  pc/AIX/pandora_agent.conf,
	  pc/Linux/pandora_agent.conf,
	  pc/HP-UX/pandora_agent.conf,
	  pc/Win32/pandora_agent.conf,
	  pc/NT4/pandora_agent.conf,
	  pc/SunOS/pandora_agent.conf,
	  pc/FreeBSD/pandora_agent.conf,
	  unix/AIX/pandora_agent.conf,
	  unix/DEBIAN/control,
	  unix/DEBIAN/make_deb_package.sh,
	  unix/pandora_agent.spec,
	  unix/Linux/pandora_agent.conf,
	  unix/HP-UX/pandora_agent.conf,
	  unix/pandora_agent.redhat.spec,
	  unix/pandora_agent,
	  unix/NT4/pandora_agent.conf,
	  unix/SunOS/pandora_agent.conf,
	  unix/FreeBSD/pandora_agent.conf,
	  shellscript/linux/pandora_agent.conf,
	  shellscript/bsd-ipso/pandora_agent.conf,
	  shellscript/aix/pandora_agent.conf,
	  shellscript/hp-ux/pandora_agent.conf,
	  shellscript/mac_osx/pandora_agent.conf,
	  shellscript/solaris/pandora_agent.conf,
	  shellscript/openWRT/pandora_agent.conf: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 17:41:54 +00:00
juanmanuelr bcf52e9ba1 2012-06-21 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* unix/AIX/pandora_agent.conf
	 unix/Linux/pandora_agent.conf
	 unix/HP-UX/pandora_agent.conf
	 shellscript/mac_osx/pandora_agent.conf
	 unix/NT4/pandora_agent.conf
	 unix/SunOS/pandora_agent.conf
	 unix/FreeBSD/pandora_agent.conf
	 shellscript/linux/pandora_agent.conf
	 shellscript/openWRT/pandora_agent.conf: Changed enconding token to 
	 UTF-8 in all Unix agents configuration files.
       
	* unix/pandora_agent
	 shellscript/linux/pandora_agent
	 shellscript/mac_osx/pandora_agent
	 shellscript/openWRT/pandora_agent: Changed default enconding to 
	 UTF-8 in Unix agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 13:12:57 +00:00
markholland 50fc62147b 2012-06-19 Mark Holland <mark@mark-holland.me.uk>
* res/layout.main.xml: removed as no longer used
	 in pandroid 2.0

	* res/values/strings.xml: Added strings for simID,
	upTime, start, loading and agent stopped. Replicated
	in values-en and values-es
	
	* src/pandroid/agent/core.java: Added variables 
	for simID and upTime
 	
	* src/pandroid/agent/PandroidAgent.java: commented
	out unnecessary code from version 1.0. Removed
	absolute tab height as it interferes with high
	density screens.

	* src/pandroid/agent/PandroidAgentListener.java: 
	Android version is now set as per device rather 
	than a fixed string. simID, upTime and networkOperator 	methods
	and then added to XML

	* src/pandroid/agent/setup.java: commented
	out unnecessary code from version 1.0

	* src/pandroid/agent/SMSActivity.java: Started work

	* src/pandroid/agent/SMSBroadcastReceiver.java: 
	Started work

	* src/pandroid/agent/status.java: Created onStart
	method to better follow android standard. run()
	is executed here. Fixed way toasts for connection 
	messages are handled. Added textviews for simID 
	and upTime values. added start/stop, show and hide 
	XML buttons for debugging purposes.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6601 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-19 22:37:03 +00:00
zarzuelo c636a70be4 2012-06-08 Sergio Martin <sergio.martin@artica.es>
* ChangeLog: Create the android agent change 
	log file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 11:52:07 +00:00
ramonn 81314e350f 2012-05-30 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from unix agent. Check for valid regular
	  expressions before adding module conditions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 16:56:26 +00:00
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
ramonn 2c35d793da 2012-05-23 Ramon Novoa <rnovoa@artica.es>
* pc: Added to repository. Generic PC agent for Unix/Win32 (still in
	  alpha).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-23 17:16:32 +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
zarzuelo dde2146987 2012-05-03 Sergio Martin <sergio.martin@artica.es>
* win32/windows/pandora_wmi.cc: Added to the windows
	agent inventory module for patches the service pack
	column

	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-03 14:45:42 +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 98070fb263 2012-04-25 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf: Fixed a default module type.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 14:10:15 +00:00
darode d4044f19ac 2012-04-25 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf: Improved windows configuration file.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 14:03:50 +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
darode c60a24b415 2012-04-23 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf: Added "parent_agent_name" parameter
        which was missing for windows configuration file.

        MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 08:49:04 +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
darode a8cf14bea6 2012-04-20 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agents/win32/bin/pandora_agent.conf: Added more inventory
	parameters to inventory module

	MERGED FROM 4.0.2	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 10:37:09 +00:00
ramonn d1d86bb875 2012-04-19 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Default to generic_data if no module_type
	  is not set.

	* installer/pandora.mpi: Remove the util directory from the PATH when
	  uninstalling.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 14:52:24 +00:00
darode a1189ca0cc 2012-04-19 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf: Added sencodary server parameters example
	in agent configuration.
	
	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 13:18:41 +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 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
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
vgilc e0fc3ba5db 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 b07cfa82a8 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 d26ce3cbe3 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 86a2af2879 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
vgilc 858dcb7eb5 2011-09-15 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_windows_service.cc: Fixed problem sending xml file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-15 15:30:13 +00:00
darode e9976ac9d7 2011-09-14 Dario Rodriguez <dario.rodriguez@artica.es>
* bin/util/tentacle_server.exe: Tentacle Proxy temporal
	with temporal patch for Windows Platforms.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4951 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-14 12:22:26 +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
vgilc 990fb3e050 2011-09-08 Vanessa Gil <vanessa.gil@artica.es>
* win32/bin/pandora_agent.conf: Added example about module preconditions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4929 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-08 13:26:19 +00:00
vgilc af3aba90c2 2011-09-06 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.php: Fixed error creating broker agent.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4918 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-06 13:59:35 +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
vgilc 5ada268713 2011-09-01 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_windows_service.php: Add information about the parent agent name to xml file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 14:37:57 +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
ramonn 2f09c48527 2011-08-29 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_regexp.cc,
	  modules/pandora_module_regexp.h,
	  modules/pandora_module_factory.cc: Check file size to detect if the
	  file was truncated. Added a new configuration token to avoid seeking
	  to the eof.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 17:17:33 +00:00
darode 42839cc64c 2011-08-29 Dario Rodriguez <dario.rodriguez@artica.es>
* modules/pandora_module_factory.cc: Fixed a bug collecting some module
	parameters like min_warning, max_warning, min_ff_event, etc.

	Fixes: 3396949



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 14:44:53 +00:00
zarzuelo 7cded15794 2011-08-22 Sergio Martin <sergio.martin@artica.es>
* win32/bin/PandoraAgent.exe: Updated the executable
	with the last code build fixing "runWMIQuery error"
	for bug 3394721



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-22 07:44:29 +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 0f42b0aa34 2011-08-19 Sancho Lerena <slerena@artica.es>
* bin/pandora_agent.conf: Ready to get the server string from the
        installer

        * installer/pandora.mpi: Updated installer, version, some strings
        and added the question to get the agent group.

        * installer/pandora.ico: New icon for windows shortcuts. Nice! :)

        * pandora.cc: Updated version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 19:31:33 +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
ramonn ff10bac9fb 2011-08-19 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_plugin.cc: Set a virtually infinite timeout
	  for plugins.

	* pandora_windows_service.cc: The Pandora_Windows_Service destructor
	  could try to dereference a NULL pointer. Fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 11:58:22 +00:00
zarzuelo bee5a48bb2 2011-08-18 Sergio Martin <sergio.martin@artica.es>
* win32/windows/pandora_windows_info.h
	win32/windows/pandora_wmi.cc
	win32/windows/pandora_wmi.h
	win32/windows/pandora_windows_info.cc
	win32/bin/PandoraAgent.exe
	win32/bin/pandora_agent.conf
	win32/pandora_windows_service.cc: Added to the windows agent
	the address token with manual (specified address) and auto 
	(detecting from WMI the address) modes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 09:41:37 +00:00
vgilc ca3404a8ff 2011-08-10 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent.php: Fixed error reading collections of the configuration file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 15:22:46 +00:00
mdtrooper b5bbc2dca4 2011-08-09 Miguel de Dios <miguel.dedios@artica.es>
*  */DEBIAN/control: fixed the name of package and update version number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-09 15:57:10 +00:00
vgilc 4ab536af57 2011-08-03 Vanessa Gil <vanessa.gil@artica.es>
* unix/Linux/pandora_agent.conf
	unix/SunOS/pandora_agent.conf 
	unix/FreeBSD/pandora_agent.conf
	unix/HP-UX/pandora_agent.conf
	unix/AIX/pandora_agent.conf: Changed comment delayed startup line.	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-03 09:41:28 +00:00
darode 838ab1519b 2011-07-29 Dario Rodriguez <dario.rodriguez@artica.es>
* bin/PandoraAgent.exe: Compiled new exe with a bug fixed.
	* pandora_windows_service.cc: Fixed a bug related to proxy mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-29 09:19:50 +00:00
koichirok 8ab68543a5 2011-07-29 Koichiro Kikuchi <koichiro@rworks.jp>
* unix/pandora_agent: Don't remove 1st line of the result of the PROC_CMDS,
	  1st line isn't a header. Also fixed and simplified some commands.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-29 09:15:37 +00:00
darode 5420de75b4 2011-07-28 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_windows_service.h, pandora_windows_service.cc: Added proxy
	mode feature.
	* bin/PandoraAgent.exe: Created new compiled version with proxy mode 
	feature.
	* bin/pandora_agent.conf: Added new parameters to configure proxy mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-28 17:34:51 +00:00
slerena c2bdee86f1 2011-07-28 Sancho Lerena <slerena@artica.es>
* bin/util/tentacle_server.exe: Tentacle server executable to use it
        in the drone/proxy mode.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-28 16:54:12 +00:00
zarzuelo 4fb0606cf0 2011-07-18 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf: Change default memory modules to get it with free command
	and using postprocessing to unit conversion. Bug: 3284422



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-18 11:32:50 +00:00
ramonn 7a865b8c2b 2011-07-14 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.h,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module.cc: Set additional module configuration
	  parameters from the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 16:45:12 +00:00
ramonn 7cc2efbda9 2011-07-14 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Set additional module configuration parameters
	  from the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 16:03:06 +00:00
vgilc 8d0694b704 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* win32/bin/pandora_agent.conf: Add example lines with drone agents and additional configuration files. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 15:19:39 +00:00
vgilc 6f6ad42684 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* unix/Linux/pandora_agent.conf
	unix/SunOS/pandora_agent.conf 
	unix/FreeBSD/pandora_agent.conf
	unix/HP-UX/pandora_agent.conf
	unix/NT4/pandora_agent.conf: Add example lines with drone agents and additional configuration files. 	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 15:14:03 +00:00
vgilc d836b86728 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent: Created runtime enviroment variables for unix agents



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 10:31:40 +00:00
vgilc 8607818525 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.cc
	win32/pandora_windows_service.cc
	win32/main.cc: Created runtime enviroment variables for agents and fixed bug in drone agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 08:58:18 +00:00
vgilc 0c2241b9c8 2011-07-11 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.cc
	win32/pandora_windows_service.cc: Allow drone agents in Windows.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-11 15:49:29 +00:00
vgilc 5b6d88b589 2011-07-08 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent: Allow drone agents in Unix.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 11:46:38 +00:00
zarzuelo 453ad9523b 2011-06-28 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf: Typo fixed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-28 16:03:18 +00:00
slerena 3b0ab10901 2011-06-28 Sancho Lerena <slrena@artica.es>
* unix/Linux/pandora_agent.conf: Some changes in comments.

        * unix/pandora_agent: Updated version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-28 12:13:26 +00:00
zarzuelo f7d8ede419 2011-06-28 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf
	unix/pandora_agent: Changed the ip_address token name
	to address to compatibility with the server works



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4491 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-28 09:47:10 +00:00
zarzuelo 9e6ac827c8 2011-06-28 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf
	unix/pandora_agent: Added ip_address token to conf file and
	auto and manual mode into agent script. 
	Added gis_exec token to obtain gis coordinates executing a
	script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4490 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-28 08:10:31 +00:00
vgilc 1434e48cd0 2011-06-27 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent: Create configuration file for drone agents in Unix.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-27 15:18:34 +00:00
darode fe86797c5b 2011-04-13 Dario Rodriguez <dario.rodriguez@artica.es>
* HP-UX/pandora_agent.conf: Fixed a wrong path for command swapinfo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-27 09:36:50 +00:00
vgilc 883dd23579 2011-06-21 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_windows_service.cc
	  win32/modules/pandora_module.cc
	  win32/modules/pandora_module.h
	  win32/modules/pandora_module_factory.cc
	  unix/pandora_agent: Allow the windows and unix agent to include preconditions on modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4474 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-21 11:06:47 +00:00
vgilc a067583d02 2011-06-09 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent: Clean the code: parse configuration files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-09 08:48:11 +00:00
vgilc af5398ede5 2011-06-07 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.cc
	  win32/pandora_agent_conf.h
	  win32/modules/pandora_module_list.cc
	  win32/modules/pandora_module_list.h: Allow the windows agent to include additional configuration files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 14:12:57 +00:00
vgilc 38b29ecbbc 2011-06-01 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent: Allow the agent to include additional configuration files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-01 10:34:05 +00:00
vgilc ec98f621c8 2011-05-06 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora.cc: Fixed: Windows agent log and system time are unsynchronized.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 10:38:30 +00:00
vgilc 1efe08c12e 2011-04-05 Vanessa Gil <vanessa.gil@artica.es>
* win32/modules/pandora_module_exec.cc,
	  win32/pandora_windows_service.cc: Fixed get module output part of over 4096 byte.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-05 14:05:25 +00:00
jsatoh ae18fcef12 2011-04-28 Junichi Satoh <junichi@rworks.jp>
* SunOS/make_solaris_package/prototype,
	SunOS/make_solaris_package/make_solaris_package.sh: Added tentacle_server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4286 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-28 02:42:28 +00:00
jsatoh 8e5bfe624e 2011-04-28 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_agent.conf: Added missing templates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-28 02:37:13 +00:00
darode fde245c9a0 2011-04-13 Dario Rodriguez <dario.rodriguez@artica.es>
* AIX/pandora_agent.conf, Linux/pandora_agent.conf, HP-UX/pandora_agent.conf
	SunOS/pandora_agent.conf: Deleted proxy_user parameter because is not 
	needed. Also fixed some comments.	
	* pandora_agent: Resctricted Proxy Mode to non root users. The agent must
	be launched by a non root user to use Proxy Mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 08:15:16 +00:00
darode 6573c7c410 2011-04-12 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_daemon: Deleted code that kill tentacle server and
	replaced kill -9 to kill of agent stop command.
	* Linux/pandora_agent.conf, AIX/pandora_agent.conf, 
	HP-UX/pandora_agent.conf,SunOS/pandora_agent.conf : Added parameters 
	proxy_max_connection and proxy_timeout 1.
	* pandora_agent: Fixed problems launching tentacle_server and also 
	added code to handle kill signal.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 15:09:25 +00:00
darode 827898cc21 2011-04-11 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Added code to install tentacle_server with
	pandora agent.
	* AIX/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.
	* tentacle_server: Added tentacle server with proxy support.
	* pandora_agent_daemon: Add feature to stop tentacle_server when
	pandora agent stops.
	* Linux/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.
	* HP-UX/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.
	* pandora_agent: Added support to tentacle_server and proxy_mode.
	* SunOS/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 16:35:45 +00:00
darode e2bd095016 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Fixed an error with chown in AIX OS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 18:19:11 +00:00
darode 20521c554f 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* plugins/pandora_update: Fixed a problem getting pandora_agent pid
	in SunOS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 15:49:13 +00:00
darode f33f30d9a1 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Added correct user to tentacle_client binary.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 15:47:44 +00:00
darode 11b1b9aaad 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Modified agent isntaller to deal with 
	specified user installation. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 10:42:57 +00:00
darode 40219f78c3 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* plugins/pandora_update: Modified plugin for agent autoupdate.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 09:33:35 +00:00
darode 7a6f73ecc6 2011-03-17 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/pandora_agent: Fixed a typo with logfile parameter. Also fixed
	the gathering of secondary_server_opts parameters when transfer mode is 
	Tentacle. Thanks to KIKUCHI Koichiro for the report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 13:49:15 +00:00
ramonn aa1652a8c0 2011-03-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 15:40:16 +00:00
ramonn 31560eca3c 2011-03-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added a module to get the ocupied space % in a
	  partition.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 10:16:01 +00:00
ramonn 27f0bad099 2011-03-08 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_regexp.cc: Added support for extended regular
	  expressions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 15:50:00 +00:00
ramonn be9b8d73ab 2011-03-02 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_factory.cc, unix/pandora_agent: Changed
	  module_post_process to module_postprocess to match the documentation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 10:41:29 +00:00
ramonn 7aa7432413 2011-03-01 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module.h,
	  win32/modules/pandora_module_factory.cc,
	  win32/modules/pandora_module.cc,
	  unix/pandora_agent,
	  shellscript/linux/pandora_agent: Set the module min, max and
	  post_process in the XML data file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 14:45:32 +00:00
ramonn e5c2126404 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/postinst: Updated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 19:08:01 +00:00
slerena 5ca2e7d0ae 2011-02-14 Sancho Lerena <slerena@artica.es>
* OpenWRT: Special files for OpenWRT/Perl version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 16:45:14 +00:00
ramonn 8d5553e3d2 2011-02-14 Ramon Novoa <rnovoa@artica.es>
* embedded/INSTALL: Added instructions to cross-compile for
	  OpenWRT (x86).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 15:40:26 +00:00
zarzuelo cb4a58d830 2011-02-10 Sergio Martin <sergio.martin@artica.es>
* android/src/pandroid/agent/PandroidAgent.java
	android/bin/Copy of Copy of Pandroid Agent.apk
	android/res/drawable-ldpi/logo.png
	android/res/drawable-ldpi/icon.png
	android/res/drawable-mdpi/logo.png
	android/res/drawable-mdpi/icon.png: Removed an unecessary apk
	file, added icons and logos to low and middle quality, 
	fixed xml file deletion, setted farscape as default host 
	and added to the default agent name a unique identifier



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-10 16:22:51 +00:00
ramonn c7e7cd1116 2011-02-10 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Detach threads to avoid excessive resource usage,
	  since threads were not joined until all modules were executed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-10 11:00:16 +00:00
zarzuelo 46fe1807b0 2011-02-07 Sergio Martin <sergio.martin@artica.es>
* android/.project
	android/AndroidManifest.xml: Adding a neccesary directive 
	for market on manifest and update the pandroid agent version 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 17:44:13 +00:00
zarzuelo 179ab3a080 2011-02-07 Sergio Martin <sergio.martin@artica.es>
* android/AndroidManifest.xml
	android/src/pandroid/agent/PandroidAgent.java
	android/src/pandroid/agent/PandroidAgentListener.java
	android/bin/pandroid/agent/PandroidAgentListener$2.class
	android/bin/pandroid/agent/PandroidAgentListener$3.class
	android/bin/pandroid/agent/PandroidAgentListener$MyLocationListener.class
	android/bin/pandroid/agent/PandroidAgentListener$1.class
	android/bin/pandroid/agent/PandroidAgent.class
	android/bin/pandroid/agent/PandroidAgentListener.class
	android/bin/pandroid/agent/PandroidAgent$1.class
	android/bin/pandroid/agent/PandroidAgent$2.class
	android/bin/pandroid/agent/PandroidAgent$3.class
	android/bin/pandroid/agent/PandroidAgent$4.class
	android/bin/pandroid/agent/PandroidAgent$5.class
	android/bin/pandroid/agent/PandroidAgent$6.class
	android/bin/pandroid/agent/PandroidAgent$7.class
	android/bin/resources.ap_
	android/bin/classes.dex
	android/res/drawable-hdpi/icon.png: Clean the code, changed the 
	app icon, added modules to the proximity and orientation sensors
	and fixed little bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3808 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 16:53:49 +00:00
javilanz 5d23835a94 2011-02-03 Javier Lanz <javier.lanz@artica.es>
* pandora_agent.c: Solved some leaks
	* pandora_agent.conf: Added some example modules
	* pandora_config.c: Added parse_config, fill module & fill setup functions
	* pandora_config.h: Fixed function prototypes
	* pandora_util.c: Added xml writer & trim functions
	* pandora_util.h: Added trim functions prototype 
	* pandora_type.h: Added pointer for the link list


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-03 17:25:38 +00:00
ramonn 7e3fb8621d 2011-02-03 Ramon Novoa <rnovoa@artica.es>
* win32/installer/pandora.mpi, win32/pandora.cc, unix/pandora_agent: Free
	  the threads semaphore when a module or plugin does not execute.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-03 09:44:04 +00:00
zarzuelo fa73112f55 2011-02-01 Sergio Martin <sergio.martin@artica.es>
* android/AndroidManifest.xml
	android/src/pandroid/agent/PandroidAgent.java
	android/src/pandroid/agent/PandroidAgentTentacle.java
	android/src/pandroid/agent/PandroidAgentListener.java
	android/src/pandroid/agent/EventReceiver.java
	android/bin/Pandroid Agent v0.3.apk
	android/bin/pandroid/agent/PandroidAgentListener$MyLocationListener.class
	android/bin/pandroid/agent/PandroidAgentListener$1.class
	android/bin/pandroid/agent/PandroidAgent.class
	android/bin/pandroid/agent/R$id.class
	android/bin/pandroid/agent/PandroidAgentListener.class
	android/bin/pandroid/agent/R$string.class
	android/bin/pandroid/agent/tentacle_client.class
	android/bin/pandroid/agent/R$layout.class
	android/bin/pandroid/agent/PandroidAgent$1.class
	android/bin/pandroid/agent/PandroidAgent$2.class
	android/bin/pandroid/agent/EventReceiver.class
	android/bin/pandroid/agent/PandroidAgent$3.class
	android/bin/pandroid/agent/PandroidAgent$4.class
	android/bin/pandroid/agent/PandroidAgent$5.class
	android/bin/pandroid/agent/PandroidAgent$6.class
	android/bin/pandroid/agent/PandroidAgent$7.class
	android/bin/resources.ap_
	android/bin/classes.dex
	android/res/layout/main.xml
	android/gen/pandroid/agent/R.java: Coded the heavy part of app to
	background in a service and changed the way of do the contact from
	loops to android alarms to fix the app sleep when screen off.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-01 17:36:54 +00:00
jsatoh d6c037bf09 2011-02-01 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent.conf: Fixed invalid cpu usage data is
	returned when system has only one disk device.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-01 01:50:55 +00:00
jsatoh 9143bda63b 2011-01-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_daemon: Changed order of 'su' argument.
	Username should be as the 1st argument on Solaris.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-27 01:54:34 +00:00
zarzuelo 6e6b0cba62 2011-01-26 Sergio Martin <sergio.martin@artica.es>
* android
	android/default.properties
	android/.classpath
	android/proguard.cfg
	android/assets
	android/.project
	android/AndroidManifest.xml
	android/src
	android/src/pandroid
	android/src/pandroid/agent
	android/src/pandroid/agent/PandroidAgentTentacle.java
	android/src/pandroid/agent/PandroidAgent.java
	android/bin
	android/bin/pandroid
	android/bin/pandroid/agent
	android/bin/pandroid/agent/PandroidAgent$8.class
	android/bin/pandroid/agent/PandroidAgent$9.class
	android/bin/pandroid/agent/PandroidAgent.class
	android/bin/pandroid/agent/R$id.class
	android/bin/pandroid/agent/PandroidAgent$MyLocationListener.class
	android/bin/pandroid/agent/R$string.class
	android/bin/pandroid/agent/tentacle_client.class
	android/bin/pandroid/agent/R$attr.class
	android/bin/pandroid/agent/R.class
	android/bin/pandroid/agent/R$layout.class
	android/bin/pandroid/agent/PandroidAgent$1.class
	android/bin/pandroid/agent/PandroidAgent$2.class
	android/bin/pandroid/agent/PandroidAgent$3.class
	android/bin/pandroid/agent/PandroidAgent$4.class
	android/bin/pandroid/agent/R$drawable.class
	android/bin/pandroid/agent/PandroidAgent$5.class
	android/bin/pandroid/agent/PandroidAgent$6.class
	android/bin/pandroid/agent/PandroidAgent$7.class
	android/bin/resources.ap_
	android/bin/Copy of Copy of Pandroid Agent.apk
	android/bin/classes.dex
	android/res
	android/res/values
	android/res/values/strings.xml
	android/res/drawable-hdpi
	android/res/drawable-hdpi/logo.png
	android/res/drawable-hdpi/icon.png
	android/res/drawable-ldpi
	android/res/drawable-ldpi/icon.png
	android/res/drawable-mdpi
	android/res/drawable-mdpi/icon.png
	android/res/layout
	android/res/layout/main.xml
	android/gen
	android/gen/pandroid
	android/gen/pandroid/agent
	android/gen/pandroid/agent/R.java: Created the
	first android agent with report of battery level 
	and basic GPS location coordinates report



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-26 19:15:48 +00:00
zarzuelo 3eb9224d0d 2011-01-26 Sergio Martin <sergio.martin@artica.es>
* android
	bsd-ipso
	bsd-ipso/AUTHORS
	bsd-ipso/pandora_agent_daemon
	bsd-ipso/pandora_agent.conf
	bsd-ipso/pandora_user.conf
	bsd-ipso/COPYING
	bsd-ipso/pandora_agent.sh
	bsd-ipso/README
	aix
	aix/pandora_agent_installer
	aix/pandora_agent
	aix/AUTHORS
	aix/pandora_agent_daemon
	aix/pandora_agent.conf
	aix/pandora_user.conf
	aix/COPYING
	aix/README
	mac_osx
	mac_osx/pandora_agent_installer
	mac_osx/plugins
	mac_osx/plugins/ipmi2xml
	mac_osx/plugins/ipmi2xml/ipmi2xml.php
	mac_osx/plugins/ipmi2xml/README.txt
	mac_osx/plugins/XServeRAID
	mac_osx/plugins/XServeRAID/xserve-raid-tools-1.2-1.uwhep.sl4.i386.rpm
	mac_osx/plugins/XServeRAID/xserve-raid-tools-1.2-1.rhel3.i386.rpm
	mac_osx/plugins/XServeRAID/pandora_agent.conf
	mac_osx/plugins/XServeRAID/check_xserve
	mac_osx/plugins/XServeRAID/xserve-raid-tools-1.2.tar.gz
	mac_osx/plugins/XServeRAID/README.txt
	mac_osx/plugins/SGE
	mac_osx/plugins/SGE/SGEStatus.sh
	mac_osx/plugins/SGE/README
	mac_osx/plugins/grep_log
	mac_osx/plugins/ppc_sensors
	mac_osx/pandora_agent
	mac_osx/AUTHORS
	mac_osx/pandora_agent.conf
	mac_osx/ChangeLog
	mac_osx/COPYING
	mac_osx/pandora_fms
	mac_osx/pandora_fms/StartupParameters.plist
	mac_osx/pandora_fms/pandora_fms
	mac_osx/Pandora FMS.pmdoc
	mac_osx/Pandora FMS.pmdoc/01pandora-contents.xml
	mac_osx/Pandora FMS.pmdoc/01pandora.xml
	mac_osx/Pandora FMS.pmdoc/index.xml
	mac_osx/README
	mac_osx/tentacle_client
	shellscript
	shellscript/linux
	shellscript/bsd-ipso
	shellscript/hp-ux
	shellscript/aix
	shellscript/meta_agent
	shellscript/mac_osx
	shellscript/solaris
	shellscript/openWRT
	openWRT
	openWRT/pandora_agent_async
	openWRT/pandora_serialread
	openWRT/contrib
	openWRT/contrib/pandora_agent_installer
	openWRT/contrib/S55pandora
	openWRT/contrib/pandora_agent_daemon
	openWRT/pandora_getsync
	openWRT/pandora_agent
	openWRT/AUTHORS
	openWRT/pandora_agent.conf
	openWRT/pandora_arduino.c
	openWRT/pandora_user.conf
	openWRT/COPYING
	openWRT/README.openwrt
	openWRT/README
	linux
	linux/pandora_agent_installer
	linux/plugins
	linux/plugins/inventory
	linux/plugins/pandora_df
	linux/plugins/grep_log
	linux/DEBIAN
	linux/DEBIAN/control
	linux/DEBIAN/postinst
	linux/DEBIAN/prerm
	linux/DEBIAN/conffiles
	linux/DEBIAN/make_deb_package.sh
	linux/DEBIAN/md5sums
	linux/pandora_agent
	linux/AUTHORS
	linux/pandora_agent_daemon
	linux/pandora_agent.conf
	linux/COPYING
	linux/pandora_agent.spec
	linux/README
	linux/tentacle_client
	hp-ux
	hp-ux/pandora_agent_installer
	hp-ux/pandora_agent
	hp-ux/AUTHORS
	hp-ux/pandora_agent_daemon
	hp-ux/pandora_agent.conf
	hp-ux/COPYING
	hp-ux/README
	meta_agent
	meta_agent/data_out
	meta_agent/pandora_agent_sim.sh
	meta_agent/AUTHORS
	meta_agent/pandora_agent_daemon
	meta_agent/INSTALL
	meta_agent/pandora_agent_1.conf
	meta_agent/pandora_agent_2.conf
	meta_agent/COPYING
	meta_agent/pandora_agent_3.conf
	meta_agent/pandora_agent_4.conf
	meta_agent/pandora_agent_5.conf
	meta_agent/README
	meta_agent/muestra_config.sh
	solaris
	solaris/pandora_agent_installer
	solaris/data_out
	solaris/pandora_agent
	solaris/AUTHORS
	solaris/pandora_agent_daemon
	solaris/pandora_agent.conf
	solaris/pandora_user.conf
	solaris/COPYING
	solaris/README: Reorganise the shellscript moving
	all the sh scripts to one folder



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-26 19:07:43 +00:00
slerena 4172871ecf 2011-01-22 Sancho Lerena <slerena@artica.es>
* pandora_agent.c: Uses pandora_types.h instead module_types.h. Now delete
	the XML after sent.

	* configure.in: Change version.

	* pandora_config.c: Read remote_config variable and other small changes.

	* pandora_util.c: New function to produce timestamp strings, now report
	timestamp in XML.

	* TODO: Small doc about design goals and pending things to implement.

	* pandora_type.h: Renamed file with contains all structs.

	* util/pandora_agent_installer: Specific installer for Busybox.

	* util/pandora_agent_daemon: Specific daemon launcher for Busybox.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-22 20:29:06 +00:00