* 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
* unix/pandora_agent, win32/pandora.cc,
win32/installer/pandora.mpi: Updated version strings for the
3.2 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3715 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
* pandora_windows_service.cc: Fixed a typo in copyScpDataFile that made
it always return PANDORA_EXCEPTION.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3599 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
* bin/util/pandora_update.exe: This small binary (see the Unix
perl version to see the sources), allow to replace the running
windows binary, by stopping the service and restarting it. Will
allow automatic upgrades of the agent using the fille collection
mechanism.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.cc: isServiceRunning returns -1 for module
states other than "Running" and "Stopped".
* modules/pandora_module_logevent.cc,
modules/pandora_module_logevent.h: Return a non empty string if
the event description can not be read. Save the event id as an
unsigned long int to avoid overflows.
* modules/pandora_module_service.cc,
modules/pandora_module_service.h: Aesthetic fix. Removed carriage
returns.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3580 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
* modules/pandora_module_logevent.cc,
modules/pandora_module_logevent.h: Re-wrote the module to avoid
using EVENTLOG_SEEK_READ, which seems to cause a lot of trouble.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/pandora.mpi: Updated installation messages.
* pandora_windows_service.cc: startup_delay after the service is
started, not before. Read all secondary server parameters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3543 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
* DEBIAN/postinst, DEBIAN/conffiles, DEBIAN/make_deb_package.sh: fixed the
warning of check md5sum on dir "plugins". Now the dir "plugins" is filled
postinstall with the package plugins in temp directory, the copy is
interactive for don't overwrite the user modified plugins of previous
installation.
Fixes: #3081496
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/make_deb_package.sh: fixed recursive infinite loop with try to
copy "temp_package" into "temp_package/usr/share/pandora_agent/temp_package"
again and again.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/bin/util/mibs: Added default mibs for the small snmpagent
* tool.
* win32/bin/util/getsnmp.bat,
win32/bin/util/snmpget.exe: Added tool to get snmp info from the
agent using tool from a module_exec.
* win32/installer/pandora.mpi: Updated installer to have snmpget and
mibs in the install process.
* win32/pandora_windows_service.cc: Fixed bug 3098165.
* win32/pandora.cc: Updated version
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3482 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f