* 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
* 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
* 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
* 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
* 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
* 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
* 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
* pandora_agent_installer, DEBIAN/postinst, DEBIAN/prerm,
DEBIAN/make_deb_package.sh, pandora_agent.spec,
pandora_agent, SunOS/make_solaris_package/prototype,
SunOS/make_solaris_package/make_solaris_package.sh,
pandora_agent_exec: Renamed pandora_exec to
pandora_agent_exec to avoid conflicts with the pandora_exec
script installed by the server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer, pandora_agent_daemon: Additional
changes to run the agent as a different user. Starting and
stopping the daemon did not work except as root.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Remove all init symbolic links.
* plugins/pandora_update: Give the agent daemon some time to stop.
Necessary on Windows.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Linux/pandora_agent.conf: Set root as the default pandora_user.
* pandora_agent: Share the semaphore after creating it. Removed
an unnecessary require.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent, AIX/pandora_agent.conf,
pandora_agent_daemon, Linux/pandora_agent.conf,
HP-UX/pandora_agent.conf, NT4/pandora_agent.conf,
SunOS/pandora_agent.conf, FreeBSD/pandora_agent.conf: Added a new
configuration option that lets the agent run as a different user
by changing the process' EUID.
* pandora_agent_installer: Several fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* plugins/pandora_update: Small tool (in perl), used also in windows
(compiled as .exe), to auto-upgrade the software agents by stopping
replacing the binary, and starting again the service/process, and also
notifying the system about the upgrade. This will be possible using
the new filecollection mechanism in 3.2 version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
pandora_exec for Pandora Server and Pandora Agent, now make a
pandora_exec.agent and try to link to pandora_exec.
Fixes: #3106578
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* NT4: New binary version of Unix perl agent for NT4, with some tools.
.exe compiled with ActiveState SDK 9.0
* pandora_agent: Some small modifications to make it work nicely in
windows boxes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* plugins/inventory: Fixed inventory process information.
* pandora_agent: Fixed an error that showed when no logfile was
specified in the agent configuration file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f