The critical_on_error option adds improved error detection capabilities
to the Pandora FMS Enterprise ICMP Server (and maybe other servers in
the future).
Previously, master servers executed modules from any agent whose
assigned server had crashed. Now they execute modules from any agent
whose assigned server cannot execute them (e.g., the server is running
but the required component is disabled).
The _address_n_ macro did not work properly because of the partial match
with the _address_ macro. It has been renamed to_addressn_n_ (e.g.,
_addressn_1_, _addressn_2_, etc.) and added to the Network and Plug-in
servers. Fixes pandora_enterprise#7379.
When /usr/lib/perl5 is added to the front of the module search path it
takes precedence over libraries distributed with binary versions of
Pandora FMS. This can be fixed by pushing it to the back instead.
* lib/PandoraFMS/PluginServer.pm: Fixed that _plugin_param2_
and _plugin_param2_desc_ (and so on) were not replaced with
the corresponding values.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/PluginServer.pm: Added new alert macros
_plugin_param1_ (,_plugin_param2_ and so on) to access to
each of plugin parameters. Also added _plugin_param1_desc_
to access to each description of plugin parameters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/PluginServer.pm: Fixed to handle plugin's
output that includes multibyte character string.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/PluginServer.pm: Fixed plugin execution failure
when multibyte characters are used in plugins macros.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9821 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/PluginServer.pm: Fixed that 'plugin_timeout' in
pandora_server.conf is not used when max_timeout is 0.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/PluginServer.pm: fixed the lost decode html
entities for the value in the macros.
* util/plugin/dummy_plugin.pl: added tiny plugin server with only
purpose to testing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm,
lib/PandoraFMS/SNMPServer.pm,
lib/PandoraFMS/Server.pm,
lib/PandoraFMS/PluginServer.pm,
lib/PandoraFMS/ProducerConsumerServer.pm,
lib/PandoraFMS/PredictionServer.pm,
lib/PandoraFMS/ReconServer.pm,
lib/PandoraFMS/NetworkServer.pm,
lib/PandoraFMS/WMIServer.pm: Added clean-up code to avoid resource
leaks when there is a crash and the server has to auto-restart.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Config.pm: updated version.
* NetworkServer.pm,
PluginServer.pm: Fixed some more un-init values and removed
annoying message and not useful warning about empty return on SNMP call.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/PluginServer.pm: Clean the blank spaces
from the start and end of the return of the plugin to make
easier the configuration of numeric modules and not confuse
with snapshot mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7666 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/PluginServer.pm: Adapted the plugin server to
new macros system and add check to timeout == 0
* util/pandora_migrate_plugins.pl: Add a new migration script
MANDATORY when upgrade Pandora FMS 4.0.x to 5.0 to adapt the
existing plugins to new macros system
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f