* misc/pandora_file.cc: fixed unclosed directory with function closedir
and control posible delete errors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added functionality
to get collection from configuration file.
* win32/pandora_windows_service.cc, pandora_windows_service.h: Added
support for manage collections
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/configure.in, Makefile.am: Modified to compile executable with
version information embedded
* win32/versioninfo.rc: Added version information file for win32
executable
Fixes: #3007874
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_exec: Added to repository. pandora_exec script.
* unix/pandora_agent_installer, unix/DEBIAN/postinst,
unix/DEBIAN/make_deb_package.sh, unix/pandora_agent.spec: Added the
pandora_exec script to the installation.
* unix/pandora_agent_daemon: Added support for running the agent as
an unprivileged user.
* unix/pandora_agent: Added timeout support for module_exec modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/DEBIAN/prerm: disabled the erase conf file and plugin dir.
* unix/DEBIAN/conffiles: added plugin directory.
* unix/DEBIAN/make_deb_package.sh: cleaned source code, and now make the
plugin empty dir for package builder.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent_installer: New version of installer. Now allow
to install the agent and all its dependencies, configuration and logfiles
inside a specific directory, for example: /opt/pandora. That directory
will contain all data, even the logs. Default configuration file and
launcher daemon script are modified in realtime to have that custom
defined directory. Removed "with-links" method.
* *.conf: Minor modification to use the new method of install in a custom
directory.
* unix/pandora_agent_daemon: Build update and some small modifications
to use the custom directory.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent_installer
linux/pandora_agent_installer
man/man1/tentacle_client.1.gz: Improved
man pages installer splitting tentacle
man page and write it on unix folder
* unix/man
man/man1/pandora_agent.1
man/man1/tentacle.1.gz: Deleted old man pages
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer
man/man1/pandora_agent.1.gz
man/man1/tentacle.1.gz: Added the man pages of
tentacle and pandora agent and modified the
agent installer script to install them
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/Linux/pandora_agent.conf: Added parameters position_description
and parent_agent_name, and updated loadaverage with a more efficient
version.
* unix/pandora_agent: Added POD documentation, modified to only add
to the XML the minimum parameters (positional parameters,
parent_agent_name,...) are not sent with default values if not
deffined in the config file. Updated verion and build.
* man/man1/pandora_agent.1: ManPage generated from unix/pandora_agent
first version of the manpage.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/Linux/pandora_agent.conf,
linux/pandora_agent.conf: Modified way to get loadaverage, taken from
Enriquegm from the forums.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Updated tentacle from the tentacle repository and generated
manpage. TODO:Make the installer install the manpages
* unix/tentacle_client: Added pod documentation to generate manpages.
* man/man1/tentacle_client.1: First version of the manpages for
tentacle_client
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2369 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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_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
* 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
* 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
* 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/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
* 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
* 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
* mac_osx/plugins/XServeRAID: Updated for 2.0 type agents. Added
license information
* mac_osx/plugins/SGE: Added SGE plugin. This is a shell script that
will output the status of an SGE computing cluster. Best installed on
the SGE Master
* mac_osx/plugins/ppc_sensors: Updated for 2.0 type agents. Added
license information
* mac_osx/plugins/ipmi2xml: Renamed .txt to .php (what it should be).
Updated to 2.0 type agents. Added license information
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_windows_service.cc: Small fixes.
* win32/modules/pandora_module.cc: time() and localtime() are used
instead of GetSystemTime().
* win32/pandora.h: Changed all instances of "Pandora" to
"Pandora FMS".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/modules/pandora_module.cc: Fixed a bug that made the agent
crash when a module returned data of the wrong type.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent.conf: Removed enabled debug by
default. Debug set to 0.
* ChangeLog: Minor style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/pandoradb.sql: Updated indexes
* pandora_agents/mac_osx: Updated pieces here and there including the installer and startup scripts to make them more compatible and reliable
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/windows/pandora_wmi.cc, win32/windows/pandora_wmi.h,
win32/modules/pandora_module.h,
win32/modules/pandora_module_logevent.cc,
win32/modules/pandora_data.cc, win32/modules/pandora_data.h,
win32/modules/pandora_module.cc: Data timestamps are taken from
the log file itself.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/modules/pandora_module_logevent.cc: Now returns "empty" data
when no data is available.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f