* 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