* lib/PandoraFMS/Core.pm: refactoriced the code for the new Planned
Downtime, now check the downtimes once and periodical and the
subtypes of downtimes.
* bin/pandora_server: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control
Makefile.PL
pandora_server.spec
pandora_server.redhat.spec: Added the perl JSON dependence
to specs and the check to Makefile
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Server.pm:: added the feature to set a agent in
"Quiet" mode.
* lib/PandoraFMS/Core.pm, bin/pandora_server: cleaned source code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/plugin/EU_10yrspread.pl
util/pandora_migrate_plugins.pl: Add plugin to
get the 10 year spread of several european countries
and fix some bugs of the plugin migrate tool
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6876 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
* lib/PandoraFMS/PredictionServer.pm: changed for the SLA service
calculate alone instead before it was calculate for the module
service.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm: added function "get_agentmodule_data" to
get some data in a time period from a module.
* lib/PandoraFMS/PredictionServer.pm: into the function
"exec_prediction_module" avoid to fill the service modules with
"subtype" SLA because this modules fill automallity after process
the main modules for the service.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Added deletion of tags when a module is
being deleted.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.conf
util/pandora_xml_stress.pl: Changed XML character codification
of Pandora XML stress to UTF-8.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/NetworkServer.pm: SNMP values starting with quotes
are now stripped of starting/ending double quotes. This will help to
get numeric (float data) as strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/ReconServer.pm: fixed the recode into html entities
the name of network component into the function
"create_network_profile_modules".
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Updated batch statistic queries to get
information about groups. SQL code taken from new functions in
functions_group.php. Unified criteria to calculate information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Added new Internal Command for
actions to validate the events of one module given
the agent name (field1) and the module name (field2)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_db.pl: Merged from 4.0.2: Set default DB port
number when it's not specified in the configuration file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm
lib/PandoraFMS/Core.pm: Added the macro _alert_text_severity_ to
the alerts
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/plugin/ipmi-plugin.pl,
util/recon_scripts/ipmi-recon.pl: Fixed some bugs of plugin and
recon
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Added call to delete the agent
related nodes of the network map enterprise
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Merged from 4.0 branch. Do not insert zeroes
when something goes wrong while processing an inc module. Fixes bug
#3519591.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/NetworkServer.pm,
lib/PandoraFMS/WMIServer.pm,
lib/PandoraFMS/PluginServer.pm: Simplified the calculation of
time_left to make sure it is always positive. Fixes bug #3519099.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Merged from 4.0 branch. Do not try to reset
the internal counter unless it is > 0. Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Setted last_reference to current utimestamp
in the alert table when create it
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
(Merged from 4.0.x Branch)
* util/pandora_xml_stress.conf: default path for default agentname list.
* lib/PandoraFMS/DataServer.pm: Units are not overwrite by an empty XML
parameter.
* lib/PandoraFMS/ReconServer.pm: Fixed creation of network components
with double encoding.
* lib/PandoraFMS/Core.pm: Applied Junichi patch (from trunk) for detecting
keepalive in some newer SQL systems. Added a lot of safe_output in logfile.
Added aditional check for INC types on date collision (same date for different
data). Fixed generation of some events with double encoding.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f