* linux/pandora_agent_daemon: Some ugly warnings are fixed.
* linux/pandora_agent.spec: /spool../data_out was not correctly
working, fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/pandora.mpi, README:Preparing release
changing version to final.
* installer/logo.png: Updated logo
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent.conf: Added comments to all modules. This will
help in reporting (reporting get the module's descriptions) and it's
a good habit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* plugins/inventory: Fixed some problems with the plugin (for
* linux). Added inventory for RPM systems.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Empty modules and plugins before loading a remote
configuration. Made the md5 function 64bit proof :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Added Ubuntu specific stop scripts.
Added link removing with update-rc.d. Changed temp directory (it
added duplicated data_out directories). Use tabs instead spaces.
* linux/pandora_agent_daemon: Use log file in /var/log/pandora/ directory.
* linux/pandora_agent.conf: Changed temp directory to the one created
by installer.
* linux/DEBIAN/control, DEBIAN/make_deb_package.sh: Changed string from rc2
to RC3.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/pandora.mpi: Updated version and silent install mode.
* pandora_windows_service.cc: Set the path from the agent to avoid
having to reboot. Fixed a typo.
* pandora.cc: Updated version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent_installer: Updated help to avoid confussion about force
install mode.
* unix/pandora_agent.spec: Create temp directory. Fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Fixed a problem sending the module type in the XML.
This causes that all modules were "generic_data".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Installer/Pandora_silent.mpi: Installer in silent mode. Should
replace pandora.mpi in the future, includes both, using a
command line to choose standard or un-attended install.
M win32/ChangeLog
A win32/installer/pandora_silent.mpi
M win32/installer/pandora.mpi
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Updated default encoding to iso-8859-1 instead
iso-8859-15, because in some systems this encoding is not installed
and don't work :-(. Thanks for summa_sp for report this.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/DEBIAN/control: Updated to RC2.
* linux/DEBIAN/make_deb_package.sh: /usr/bin/pandora_agent was not being copied
FIXED. DEB package tested and running fine in latest Debian Stable.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Added a common installer for all systems.
* Deleted daemon script for all systems, creaded a general one.
* Modified HPUX to HP-UX directory.
* Updated some .conf
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_daemon: Changed "Uso" string to "Usage" string. Unify headers
and customized according to each UNIX/Linux versions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/make_deb_package.sh: move the script to make the deb package into
the DEBIAN and change some things into the sourcecode for the directory
change.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst, DEBIAN/prerm,
DEBIAN/conffiles: debian base files for to make a .deb package.
* make_deb_package.sh: shell script for make automatically the deb package
for standard installation in a Debian Lenny, this script make a package
"pandorafms.agent_3.0.0.rc1.deb".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_daemon: Fixed problems in small term with
PID detection.
* unix/Linux/pandora_agent_daemon: Same as above.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* configure.in: Modified path to libregex.a instead original boost
library name (very large and complex). This should be fix with the
library package uploaded in sourceforge and compile nicely (works
for me :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2029 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows_service.cc: Enable service recovery by default.
* pandora_windows_service.cc: Added autotime, group and description
configuration options.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/PandoraAgent.exe: Last build of agent binary.
* bin/pandora_agent.conf: new default .conf for packaging.
* bin/util/getreg.exe, bin/util/cmp.exe, bin/util/sort.exe: New bin tools
for the 3.0 agent util directory.
* installer/scripts/install_service_restart.bat: Install daily agent
restart with AT command.
* installer/scripts/restart_pandora_agent.bat: Make a service restart from
command line (using net commands).
* installer/pandora.mpi: Many fixes and improvements for the installer.
* installer/README.txt: Updated readme.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* main.cc: Fixed the agent interval when running in process mode.
* pandora_windows_service.cc: Moved the startup delay to the right
place.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ftp/pandora_ftp_client.h: Fixed the path of curl.h to match
that in the Dev-cpp libcurl devpack.
* modules/pandora_module_tcpcheck.cc: Properly close the connection
socket.
* modules/pandora_module_regexp.cc: Removed debugging code.
* modules/pandora_module_perfcounter.cc: Close the query handle even if
no data was returned to avoid memory leaks.
* windows/pandora_windows_info.h,
windows/pandora_windows_info.cc,
modules/pandora_module_proc.cc: Fixed a process handle leak.
* configure.in: Improved library detection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Fixed "accidental" deletion
of /var/spool/pandora uninstalling the agent, now only
delete /var/spool/pandora/data_out
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mac_osx/pandora_fms/pandora_fms,
mac_osx/pandora_fms/StartupParameters.plist: Updated for 3.0
* mac_osx/tentacle_client: Added for 3.0
* mac_osx/pandora_agent: Copied from Linux and modified
* mac_osx/pandora_agent.conf: Slight modifications for 3.0
* mac_osx/pandora_agent_installer: Copied from Linux and
modified
* mac_osx/Pandora FMS.pmdoc: PackageMaker definition file
to create Mac Packages for easy (automatic) deployment
* mac_osx/Pandora Agent 3.0 for Mac: Package (installer) for
Mac. This is an easy (click-to-run) package.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_tcpcheck.cc: WSAStartup memory management
was leaking memory, so we will create and destroy in each loop the WSA
structure. Tested and leak-proof :-))
* modules/pandora_module_inventory.cc: Fixed typo with string label of
services inventory module.
* bin/PandoraAgent.exe: New binary (woah, compiled from linux!).
* pandora_windows_service.cc: Fixed problem in os XML Tag, was os_name
not os. Fixed problem with windows version, now is passwd full string to xml.
Tentacle call is passwd between quotes, because tentacle could be
in paths with blank spaces (by default \program files\pandora_agent).
* pandora.cc: Build updated.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.h, modules/pandora_module_inventory.cc: Changed
the format of the inventory XML.
* main.cc: Execute the agent and exit when compiled with debugging
enabled.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* debug_new.h, fast_mutex.h,
debug_new.cpp, static_assert.h: Added to repository. Wu Yongwei's
memory leak detection tool (part of Nvwa). Only compiled when
debugging is enabled.
* bin/util/tentacle_client.exe: Added to repository. Tentacle client
needed to build the installer.
* installer/pandora_2.0.mpi: moved to installer/pandora.mpi. Updated.
The installer can now be built directly from the installer
subdirectory.
* configure.in, Makefile.am, autogen.sh: Created a proper
configure.in and Makefile.am. The agent can now be cross-compiled
from Linux :-D
* bin/pandora_agent.conf: Fixed. A local configuration had been
uploaded.
* pandora_windows_service.h,pandora_windows_service.cc,
udp_server/udp_server.cc, udp_server/udp_server.h: Properly shutdown
the UDP server.
* modules/pandora_module_regexp.cc,
modules/pandora_module_inventory.cc,
modules/pandora_module_factory.cc,
modules/pandora_module.cc, pandora_strutils.cc,
pandora.h, pandora.cc: Fixed a couple of memory leaks. Small changes
to avoid compile warnings when cross-compiling from Linux.
* windows_service.cc: Removed the interactive service flag to avoid
'black windows'.
* main.cc: Include the memory leak detection tool if debugging is
enabled.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix: Added subdir with local daemon script and sample conf
file for each supported system: Linux, AIX, Solaris and HPUX.
* Installer now detects OS and install startup scripts and
conf depending on OS.
* Updated RPM spec for Linux agent.
* Plugins: Let here (at this time) only "common" plugins,
in the future will be common plugins and OS dependendant
plugins.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix, unix/pandora_agent_installer,
unix/plugins, unix/pandora_agent,
unix/pandora_agent_daemon, unix/AUTHORS,
unix/pandora_agent.conf, unix/COPYING,
unix/pandora_agent.spec, unix/tentacle_client,
unix/README: Added to repository. Generic Pandora FMS Unix agent
written in PERL. The skeleton files where copied from the linux
subdirectory.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_windows_info.h,
windows/pandora_windows_info.cc: Added a new function that searches
the Windows registry for installed software.
* windows/pandora_wmi.cc, windows/pandora_wmi.h: Avoid reading numeric
values from WMI query results into strings.
* modules/pandora_module_inventory.h,
modules/pandora_module_inventory.cc,
modules/pandora_module_factory.cc: Added a new inventory module that
lists system services. Updated the software module to use the new
function. Fixed some typos.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent.spec: Fixed some permissions.
* pandora_agent.conf, pandora_agent: Support for description and group
passed to the server. Also implemented AUTOTIME, where timestamp used
is the server localtime instead agent datetime. Also placed new token for
module_postprocess data to be passed to server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Fixed problems with .conf backup
* linux/plugins/iptables_plugin: New agent plugin for Netfilter.
* linux/plugins/apache_status: new agent plugin (apache status).
* linux/plugins/inventory: Added users and process. Fixed weird
problem with inexistant XML attribute VALUE ¿?. Now works fine.
* linux/plugins/pandora_df: New agent plugin (disk space).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Some fixes and support for Ubuntu/SUSE
specific installer.
* linux/plugins/grep_log: Support for more than module over the same file.
* linux/pandora_agent_daemon: Fixed problems with PID control, rewrite
function, now should works on any linux distro.
* linux/pandora_agent.conf: Added new inventory plugin and minor changes in
default modules.
* linux/pandora_agent: Updated version and build
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/plugins/inventory: Added the capacity for search services in init,
details file system, and modify the software scanner to extract the
description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/plugins/pandora_ps, linux/plugins/pandora_df: Added to
repository. New ps and df plugins.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1808 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Changed the uninstall options
cause if you had the agent in the same machine as the server and the
agent is deleted, it would delete /etc/pandora/ (which includes
pandora_server.conf) instead of just pandora_agent.conf.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_logevent.cc: Fixed the calculation of the
newest event offset. Removed module output when no log events are
found.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.cc, windows/pandora_wmi.h: Added functions for the
new modules. Removed old logevent functions.
* pandora_windows_service.h, pandora_windows_service.cc: Added support
for data file buffering and startup delay.
* modules/pandora_module_logevent.cc, modules/pandora_module_logevent.h:
Rewritten to retrieve event log data using the PDH interface instead
of WMI (was too slow).
* modules/pandora_module_tcpcheck.cc, modules/pandora_module_tcpcheck.h,
modules/pandora_module_regexp.cc, modules/pandora_module_regexp.h,
modules/pandora_module_perfcounter.cc,
modules/pandora_module_perfcounter.h,
modules/pandora_module_freedisk_percent.cc,
modules/pandora_module_freedisk_percent.h,
modules/pandora_module_freememory_percent.cc,
modules/pandora_module_freememory_percent.h: Added to repository.
New modules, see http://openideas.info/wiki/.
* modules/pandora_module.h, modules/pandora_module.cc,
modules/pandora_module_factory.cc, modules/pandora_module_list.cc:
Added support for the new modules.
* bin/pandora_agent.conf: Included configuration examples for the new
modules.
* PandoraAgent.dev: Updated to compile the new modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mac_osx/plugins/ipmi2xml/impi2xml.php,
linux/plugins/ipmi2xml/impi2xml.php: Updated for latest ipmitool
and works with Apple XServe "Nehalem". See blog post for adapting it
* mac_osx/plugins/ipmi2xml/README.txt,
linux/plugins/ipmi2xml/README.txt: Updated documentation for dependencies
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Some corrections for new tentacle install.
* pandora_agent_daemon: Some corrections for startup script.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Added tentacle_client installation
* linux/tentacle_client: Added to repository. Tentacle_client is now
installed along with the Agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/bin/pandora_agent.conf: Added example of a UDP server
to allow start/stop process.
* win32/Changelog: Updated.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent.conf: Commented SNMPGET example module
it is not useful in a default installation since it will always
fail.
* win32/bin/pandora_agent.conf: Added example for the new features
such as watchdog and asynchronous mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* main.cc: Added a new parameter --process to run the agent as a
single process instead of a service.
* pandora_windows_service.h: Interval property is now public so it can
be readed if it's running as a single process.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/modules/pandora_module.h,
win32/modules/pandora_module_factory.cc,
win32/modules/pandora_module.cc: Added support for async data types.
* win32/modules/pandora_module_proc.cc: Removed unnecessary call
to Pandora_Wmi::runProgram.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/ftp/pandora_ftp_client.cc,
win32/ftp/pandora_ftp_client.h,
win32/windows/pandora_wmi.cc,
win32/pandora_windows_service.h,
win32/pandora.h,
win32/udp_server/udp_server.cc,
win32/misc/pandora_file.cc,
win32/misc/pandora_file.h,
win32/ssh/pandora_ssh_client.cc,
win32/ssh/pandora_ssh_client.h,
win32/pandora_windows_service.cc: Removed some exceptions that made
the agent crash when the watchdog thread was running.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/plugins/SGE: Added the SGE plugin
* mac_osx/plugins/SGE: Renamed the SGE plugin to be consistent with Linux
* mac_osx/pandora_agent, mac_osx/pandora_agent.conf,
mac_osx/pandora_agent_installer, mac_osx/pandora_fms/StartupParameters.list
mac_osx/pandora_fms/pandora_fms: Updated to latest (2.0) client code. Fixed
installer issues where it would overwrite previous config.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_windows_service.h,
win32/pandora_windows_service.cc: Added support for a secondary server
.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1288 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f