* 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/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
* lib/PandoraFMS/Config.pm
lib/PandoraFMS/DataServer.pm: Ignore the agent group coming from the XML
if autocreate_group is set.
* util/recon_scripts/snmp-recon.pl: Changed the default value for a
router-less scan.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Fixed a typo that prevented timestamps in
datalists from being read. Fixes bug #2404.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Fixed a bug when a parent was defined but
empty in the XML and an agent with an empty address existed in the
database.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9071 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
* lib/PandoraFMS/DataServer.pm: Add a default module_interval.
* util/pandora_db.pl: Moved data deletion code to a generic function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm,
lib/PandoraFMS/Tools.pm,
lib/PandoraFMS/DataServer.pm,
lib/PandoraFMS/ReconServer.pm,
bin/pandora_server: Improved pandora_get_os to support custom operating
systems and moved it from Tools.pm to Core.pm.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
lib/PandoraFMS/DataServer.pm: Clean code and fix some
forgotten changes in last GIS code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Added feature to update custom
* field
on every XML process only with learning mode enabled.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f