* lib/PandoraFMS/Core.pm: Fixed that unknown modules are never
recovered when module data is received correctly in/after the
race condition (module execution time exceeds its interval).
* 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/Core.pm: Prevent some warnings would be
written at pandora_server.error ("Use of uninitialized value
in subroutine entry at ..." and "Use of uninitialized value in
string ne at ..").
MERGED FROM BRANCH 5.0 (rev10441).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Added an internal action to
create a Integria IMS incident on the function
"pandora_execute_action". Added the function
"pandora_create_integria_ticket".
* util/pandora_manage.pl: Added an option to recreate
a collection with the function "cli_recreate_collection".
Added a call to get the Pandora FMS shared config.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Config.pm,
lib/PandoraFMS/ReconServer.pm: Added a separate timing template for
network scans, since they can be very slow.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* FreeBSD/pandora_server.conf.new,
conf/pandora_server.conf.new,
conf/pandora_server.conf.windows: Modified default configuration
to avoid put all agents in the group id #2.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10426 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
* bin/pandora_server: Fixed issue that pandora_server failed to
shut down properly on non-Linux systems.
Merged r10335 from branch 5.0.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server_installer: Refactord implementation, added
"fakeroot" installation support, small bug fixes and improvements:
fixed processing arguments, replace "test -e" with "test -f" for portability
(solaris' /bin/sh doesn't support "test -e").
* Makefile.PL: Install bin/tentacle_server if WITHOUT_TENTACLE=0 so that
MakeMaker can fix perl path in the shebang line.
* pandora_server.redhat.spec: Added missing dependency.
* FreeBSD/pandora_server.conf -> FreeBSD/pandora_server.conf.new: Renamed
* NetBSD/pandora_server.conf -> NetBSD/pandora_server.conf.new: Rename
* FreeBSD/tentacle_server: Small bug fix and improvements. Fixed
"tentacle_server_flags" and modified code to use proper variables and
to get pid more strictly.
* FreeBSD/pandora_server: Added support to start multiple pandora_server
instances.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Fixed sql
error with MySQL 5.6 and its default sql_mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Fixed modules would have ignored
ff_threshold when the module shifted from normal to critical
while its status remained unknown.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/recon_scripts/snmp-recon.pl,
util/recon_scripts/wmi-recon.pl: Set a default value
for nmap_timing_template.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf.new,
lib/PandoraFMS/Config.pm,
lib/PandoraFMS/ReconServer.pm,
util/recon_scripts/snmp-recon.pl,
util/recon_scripts/wmi-recon.pl: Added a new parameter to control how
aggressive nmap should be.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* NetBSD/pandora_server.conf,
conf/pandora_server.conf.new,
conf/pandora_server.conf.windows: New default value for icmp_retries
to have default setup more realiable but a bit slower.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/NetworkServer.pm: Little syntax fix.
* util/pandora_revent_create.pl: Changed the url encode
separator of the api call from "," to "|".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Suppress "going to normal (warning,
critical)" events from "unknown" status, if you disable "Throw
unknown events" at the Console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Fixed that unknown modules would be
set to normal if its status is not normal, when new data
arrives but ff_threshold is greater than 0.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/trap_rate.sh: Added to repository. Script to calculate the rate of
SNMP traps received by snmptrapd.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Set unknown modules to normal if new data
arrives but ff_threshold is greater than 0.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf.new,
lib/PandoraFMS/Config.pm: Added configuration tokens to disable the
translation of enterprise strings and variable bindings (SNMP console).
* lib/PandoraFMS/SNMPServer.pm: Added thread support to the SNMP console.
* lib/PandoraFMS/DB.pm: Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/GIS.pm, lib/PandoraFMS/DB.pm,
lib/PandoraFMS/Core.pm, lib/PandoraFMS/ReconServer.pm,
lib/PandoraFMS/DataServer.pm: tiny fixes for to improve the support
of PostgreSQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f