* lib/PandoraFMS/Tools.pm: Merged from 4.0 branch. Directly call
snmptranslate, since SNMP::translateObj does not seem to load
enterprise MIBs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Fixes crash on inverse resolution for
GIS information on openstreetmaps. This was due function was moved from
Dataserver to Core.pm and include for LWP::Simple not :(
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm,
util/pandora_db.pl: Several improvements. Added support for detecting
other running instances of the script.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8110 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: Added a suffix to the auto-monitoring XML
so that it does not conflict with a local agent.
* util/pandora_manage.pl: Fixed a couple of bugs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7912 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Added group ACL to 'Special days list'.
It is applied when group id is 0 (All) or the same as alert
template's group id.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7909 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
* conf/pandora_server.conf,
lib/PandoraFMS/Core.pm,
lib/PandoraFMS/Config.pm,
bin/pandora_server: Added the parameter braa_retries, which lets braa
retry SNMP modules a number of times before handing it over to the
network server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm,
bin/pandora_server,
util/pandora_db.pl: Added support for on-demand module status
calculation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Tools.pm: Added support for ranges to server cron
modules.
* lib/PandoraFMS/ProducerConsumerServer.pm: Update queue stats after
queuing new new modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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