* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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