* lib/PandoraFMS/Core.pm: Fixed alert fired counts when
reset internal counter and fired times in threshold loop
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Add macros substitution in all the
text fields of generate event command
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Change the update count of fired alerts
condition to increase the count only when a alert is fired first time
to avoid broke counts
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Add the new fields on snmp alerts
(now there are 10 fields). Bug 3605775
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7784 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Add update counts when validate
all the alerts of a policy in CLI option. Bug 3606759
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7779 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
* 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: Removed several "Use of
uninitialized value in string" errors.
* lib/PandoraFMS/Core.pm: Fixed more ugly notices due
uninitialized vars.
* util/recon_scripts/snmpdevices.pl: Fixed due new interface.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7755 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
* bin/pandora_server: Undid the previous commit since forking after
having launched all server threads can lead to trouble.
* lib/PandoraFMS/Core.pm: Removed some debugging code that polluted the
logs.
* lib/PandoraFMS/NetworkServer.pm: Removed a DISTINCT from the query since
module ids are unique.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_server: Delay the backgrounding of the main process to
make log messages available when starting from the init script.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: erased the spam traces (useful for the
developers but not for to users) in the code for the Planned
Downtimes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Tools.pm: My MacOS boxes was being ignored
due lack of "darwin" detection here :(
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Fixed problem with SNMP alerts: they
defined custom fields on it's own version of the alert template,
and actions was overwriting it's information, so in the case
of snmp alerts, template information has more priority than
action.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
lib/PandoraFMS/DataServer.pm: Fixed the exception of "status"
field of the XML deleted from the supported tags in a previous
fix for bug 3604850
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7669 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/Core.pm
lib/PandoraFMS/ReconServer.pm
util/pandora_manage.pl: Encapsulate the code of create
a module from a network component. Unify calls of CLI
and Recon Server to dont break module counts
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7660 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
bin/pandora_server
util/pandora_db.pl: Adapt status counts querys to use only
not disabled modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/NmapParser.pm: Merged with version 1.3 of Nmap::Parser.
* util/pandora_db.pl: Added the deletion of old netflow and log data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
lib/PandoraFMS/DataServer.pm: Fixed a problem with the status
field of the modules (forced status) in the dataserver creation
of the module because using create_module_from_hash.
Order some code of the same part of the Dataserver
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: review of all file and removed
some bad parameters (netflow daemon and other values).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: Review of default configuration
values and some new description / comments.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
lib/PandoraFMS/DataServer.pm: Clean code on Dataserver,
improve error message when ignore GIS data, and change the
way of update parent info (only in learning mode now)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/NetworkServer.pm
lib/PandoraFMS/Tools.pm: Added check to the ping latency
modules to difference the fail from the 0 latency. Now
when the IP doenst exist or the ping fail, the module
doesnt report any data. FIX: 3543467
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Set ack utimestamp when create
a event in validated status (normal status)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Set the last_known_status when
process module to fix an error of "to normal" status
events generation
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_server,
conf/pandora_server.conf,
lib/PandoraFMS/Config.pm,
lib/PandoraFMS/Core.pm,
util/pandora_manage.pl: Added support for event storm protection and
disabling auto event validation.
* lib/PandoraFMS/Server.pm: Improved the server status update function
to use run less queries.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.pl: fixed the typo messages error that
put \ERROR instead \tERROR and the perl show warnings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/plugin/EU_10yrspread.pl: Updated the european countries
10 years spread plugin to new bloomberg website
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_db.pl: Added the history events to the
maintenance script of database and delete the old events in
1000 events blocks
* util/pandora_manage.pl: Added a CLI function to
create new netflow filters
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f