* 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
* pandora_strutils.[cc,h]: Added strUnicodeToAnsi().
* modules/pandora_module_logevent.cc, pandora_windows_service.[cc,h],
windows/pandora_wmi.h: Tabs and blankspace style correction.
* windows/pandora_wmi.cc: Convert result in getEventList() to ANSI,
which was causing some BADXML errors on server. Tabs and blankspace
style correction.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agents/tools
pandora_agents/linux/plugins
pandora_agents/mac_osx/plugins: Moved tools into the plugin sections of compatible agents. The plugins in subdirectories have dependencies that can be found in the README file while plugins directly in the directory can be used directly when Pandora agent prerequisites are met (Perl & Bash)
* pandora_agents/mac_osx/pandora_user.conf
pandora_agents/mac_osx/plugins/ppc_sensors: Moved pandora_user.conf into the new plugins section
* pandora_server/pandora_server_installer: Refined the installer so that it doesn't try installing certain parts on systems (usually non-Linux) that don't support cronjobs or /etc/init.d startup. It will just fail with a message for now. Also updated the error messages that appear so that they are more clear (eg. what Perl modules and how to use cpan).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Also: Added a tool for reading out IPMI-compatible chips. Requires php and ipmitool. Tested against Apple XServe's only.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@928 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
* bin/PandoraAgent.exe: Updated to commit, fixed an error when
building that was causing to not work as a service.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.cc, modules/pandora_module_list.cc: Deleted
debug output.
* modules/pandora_module_exec.cc: Reindented the code. Add blank
output to the module if there were nothing to read (like when the
executions return nothing).
* bin/PandoraAgent.exe: Updated to commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* openWRT/README.openwrt: Some additional information about wput command
replacing old SSH transfer method.
* openWRT/pandora_agent: Updated to use ftp(wput) instead of buggy ssh.
* openWRT/pandora_agent.conf: Deleted ssh method and unused stuff for
this little agent.
* linux/plugins/grep_log: Updated plugin to use a module name for each
call, passed as 2th argument.
* linux/pandora_agent.conf: Deleted checksum reference and commented
plugin sample, and using the new syntax for plugin.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent: New cron mode, new ftp mode that do not use
.netrc anymore, uses password embedded into .conf. Also a few fixes
and removed checksum mode (deprecated!).
* linux/pandora_agent.conf: Updated .conf
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Added plugin installation.
* linux/plugins: Added to repository. Plugins directory.
* linux/plugins/grep_log: Added to repository. Plugin to search log
files for a matching pattern.
* linux/pandora_agent: Added support for plugin execution. Removed
support for pandora_user.conf.
* linux/pandora_user.conf: Deleted from repository. Not used anymore.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/pandora_1.3.mpi: Changed tentacle_client.exe default
installtion directory, now it is %WINDOWS.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_data.[cc,h]: Added to repository. Implements a
Pandora_Data object, which holds a value and the timestamp when it
was created.
* modules/pandora_module.[cc,h]: It holds now a list of Pandora_Data
objects. The XML is generated based on the size of this list. Output
property has became obsolete and child modules must use setOutput().
* modules/pandora_module_cpuusage.cc,
modules/pandora_module_exec.cc,
modules/pandora_module_freedisk.cc,
modules/pandora_module_freememory.cc,
modules/pandora_module_odbc.cc, modules/pandora_module_proc.cc,
modules/pandora_module_service.cc: Updated to new Pandora_Module
parent class.
* modules/pandora_module_list.cc: Deleted debug output.
* pandora.cc: Now uses SYSTEMTIME instead of old time_t.
* pandora_windows_service.[cc,h]: Added Ramon Novoa to authors. Added
a new configuration token transfer_interval which sets the interval
where the data file will be sent to the server. If the current
interval token is lower than this transfer interval, the data will be
added into a data_list XML tag.
* PandoraAgent.dev: Added new files.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@803 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* openWRT/pandora_arduino.c: Code for arduino, able to manage
pandora agent signals using serial interface.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@795 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_conf.[cc,h]: Object adapted to be a singleton so it
could be used in many parts of the code who can't access to it before.
* ftp/pandora_ftp_test.cc, ssh/pandora_ssh_test.cc: Adapted to
configuration object singleton.
* modules/pandora_module_odbc.[cc,h]: Added to repository. Implements
a ODBC interface to make SQL queries.
* modules/pandora_module.[cc,h], modules/pandora_module_list.cc,
modules/pandora_module_factory.cc: Added ODBC module support.
* bin/pandora_agent.conf: Added a ODBC module example.
* PandoraAgent.dev: Added new files to project.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/pandora_1.3.mpi: Adapted for the 1.3.1 Windows Installer
with the tentacle support and tentacle util included.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_windows_service.cc: Added support for Tentacle file transfers.
* win32/pandora_windows_service.h: Added support for Tentacle file transfers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_arduino.c: Added microcode for arduino.
* AUTHORS: Added Jorge to autors, was missing.
* pandora_serialread: Added sleep to improve serial read.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* openWRT/*: Added code for new ASYNC agent for OpenWRT/Arduino
agent, this would be the new SYNC/ASYNC agent for Pandora FMS 2.0.
This is first development version, DO NOT TEST YET. It has several
code specific for OpenWRT enviroment.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent.conf: Updated
* pandora_1.3.mpi: Updated and fixed some minor strings.
* Packaged lastest version of Pandora FMS Agent for windows.
This would be beta3 for Windows Agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.cc: Date is now filled with zeros to the
left and two digits.
* bin/PandoraAgent.exe: Updated to last commmit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.cc: Fixed a bug that return 0 in some cases of
free disk space.
* pandora.cc: Renamed debug file to pandora_debug.log
* pandora_windows_service.cc: Fixed a blank space.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@643 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/pandora_1.3.mpi: Updated texts in several languages. Now some
links are traslated.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/README.txt replaced instead README.
* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Added
beta2 installer binary.
* installer/pandora_1.3.mpi: Several changes on installer from last
version !. Now adds to path /util directory, and open a writepad
for default config. Also install Pandora on standard windows
uninstaller, and also remove correctly all files. Some other minor
changes added.
* installer/README.txt: Updated also.
* installer/How_to_create_installer.txt: Some small changes in file
disposition.
This SHOULD be the LAST commit before BETA2 official launch.
== Version: 1.3 Beta2 ==
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.cc: Fixed a typo. Disconnect ftp client when
an error happened.
* ftp/pandora_ftp_client.cc: Set network timeout and ftp timeout.
Ignore error when executing moving operations, this is compatible
with FTP jails
* windows/pandora_wmi.cc: Improved WQL queries and fixed some leaks.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* branches/*/win32_old, tags/*/win32_old/, trunk/*/win32_old:
Deleted old win32 agent directory in any branch.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora.cc: Updated buildname.
* main.cc: Added a missing "]" character. Added version number when
showing the help. Fixes#1782569.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora.cc: Changed log and debug file to have the same name that
other operative system agents.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/windows/pandora_wmi.cc: Fixed a bug when reading free space
from a read-only device such as CD-ROM by improving the WQL query.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.cc: Reduced output log level in normal use.
* main.cc: Added a new line on help output.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_intaller: Fixed problem with /var/log/pandora
* linux/README: Added, replacing old INSTALL file.
* linux/pandora_agent: Fixed problem with old path /var/log/pandora_agent.log
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
New version of Pandora Agent for Windows (beta2).
* win32/bin/key/id_dsa*: Added sample keys.
* win32/installer/logo.png: Updated logo for installer.
* win32/installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: New installer binary.
* win32/installer/Pandora_Windows_Agent-1.2.1-Setup.exe: Deleted old one
* win32/installer/pandora1.2.1.mpi: Updated (and need to be renamed on next commit)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ftp/pandora_ftp_test.[cc,h]: Added to repository. Implements a FTP
test to be run on command line.
* main.cc: Added --test-ftp option to perform a FTP test.
* PandoraAgent.dev: Added new files.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.cc: Do not check debug flag if copying was
not successful.
* bin/README: Updated options.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora.cc: Updated agent version.
* pandora.h, modules/pandora_module_exec.cc: Redefine WINVER, so
CreateJobProject can be found without modifying windef.h.
* pandora_agent_conf.cc: Rewritten a loop.
* ftp/pandora_ftp_client.[cc,h]: Added to repository. Implemented FTP
transfer protocol using libcurl. It adds a library dependency.
* pandora_windows_service.cc: Added support for FTP transfers. Select
between SSH (default) or FTP. Improved file structure to be cleaner.
* pandora_windows_service.h: Added new private functions and removed
unneccessary private attribute.
* misc/pandora_file.[cc,h]: Added a function to get the filename of a
path.
* main.cc: Indentation fixed.
* bin/libcurl.dll: Added to repository. New dependency.
* bin/PandoraAgent.exe: Updated to last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bsd_ipso/*: Some fixes. Added harm_mode to avoid be unpolite
with IPSO in some heavy loaded systems (IMPERATIVE!). Some fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent: Fixed small but important bug.
which makes the ftp transfer mode useless.
* aix/pandora_agent: Fixed small but important bug.
which makes the ftp transfer mode useless.
* solaris/pandora_agent: Fixed small but important bug.
which makes the ftp transfer mode useless.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* hp-ux/pandora_agent_installer: Added to repository.
HP-UX Pandora Agent Installer.
* hp-ux/data_out: Removed, no longer necesary in
1.3 version and later.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Pandora Console:
* images/lupa.png: better image
* operation/reporting/reporting.php: New summary file for reportings
* operation/menu.php: Changed code to show new reporting file.
Pandora Agents:
* linux/pandora_agent.conf: Changed log and temp paths.
Pandora Server:
* conf/pandora_server.conf: Changed default incomming dir and log.
Fixed small bug with dbuser.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Fixed problems with old "contrib"
subdir.
* */pandora_agent: Removed from/to time run functionality. Added
renice call, fixed some default vars and fixed DEBUG mode
behaviour.
* */pandora_agent.conf: Default are to no renice and not debug.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Fixed a bug related
with the copy of the pandora_agent_daemon file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agents.spec: Renamed to pandora_agent.spec
* linux/pandora_agent.spec: Ready to 1.3 version packagement.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f