* 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
* pandora.[cc,h]: Function is_enabled() was moved here to be
accesible.
* pandora_windows_service.cc: Removed is_enabled() private function.
* windows_service.cc: Service is now interactive, so it can open
interactive processes in the watchdog mode of proc modules.
* modules/pandora_module_factory.cc: Added "module_watchdog" and
"module_start_command" tokens to service and process modules. Style
correction.
* modules/pandora_module_proc.[cc,h]: Added watchdog mode to run
proccess when they die. It's done by setting a start command to
recover it.
* modules/pandora_module_service.[cc,h]: Added watchdog mode to start
a service when it's stopped.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.cc: Removed debug output. Release mutex on
sendXml()
* modules/pandora_module.[cc,h]: Save latest output in a new property.
It's used on generic_proc modules to check the value better.
* modules/pandora_module_proc.[cc,h]: Added support for asynchronous
mode. It checks process in a separeted thread and report the status
quicker. Added getProcessName()
* modules/pandora_module_service.cc: Style correction. Removed an
indentation level.
* windows/pandora_windows_info.[cc,h]: Added getProcessHandles() to
get a list of handles of a running process, giving the process name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module.[cc,h]: Added an async property. Added
getLatestOutput() to get the latest output of a module.
* modules/pandora_module_factory.cc: Parse async token in modules.
* modules/pandora_module_list.[cc,h]: It can create empty lists now
and add modules using new addModule() function.
* modules/pandora_module_service.[cc,h]: Added an async thread to
watch services events and track services status changes quickly and
asynchronously.
* windows/pandora_wmi.cc: Style correction.
* pandora_windows_service.[cc,h]: Pandora Windows service object is
now single instance, so the instance to the running service can be
accessed anywhere (useful in async threads). The XML generation and
sending process has been moved to a new function called sendXml()
which is thread-safe.
* windows_service.h: Some properties are now protected instead of
public to make it easier the singleton pattern in child classes.
* main.cc: Adopted to singleton pattern in Pandora windows service.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/installer/pandora_2.0.mpi: Updated installer to let the user start
the service during installation.
* win32/installer/scripts/*.bat: Updated bat files with new service name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/bin/pandora_agent.conf: Changed to template used by installer.
* win32/installer/pandora_2.0.mpi: Updated installer file with pane
that allows configure the pandora_agent.conf file without editing it.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1086 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/installer/pandora.ico: The new official 2.0 icon.
* win32/bin/Pandora FMS Windows Agent 2.0 (Beta1)-Setup.exe:
Probably not final, but this seems to work for us.
* win32/bin/PandoraAgent.exe: Latest binary for agent.
* win32/bin/pandora_agent.conf: A more complex sample file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@986 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
* 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