* lib/PandoraFMS/NetworkServer.pm: Fixed the return value of
pandora_query_snmp when an OID cannot be translated.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Fixed pandora_server process down with
version 8.3 or later of PostgreSQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_db.pl: added lines to purge the contents in the report that
have not a modules or agents.
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.agents
util/pandora_xml_stress.conf: Added default file for agent
dictionary. Better defaults on modules. Ready to be used for
testing Pandora FMS servers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_db.pl: Don't delete alerts if non-init/unknown
module to which these alerts assigned has not been deleted.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.conf
util/pandora_xml_stress.pl: Now xml_stress tool can use units
in the XML generated files. Default configuration file is useful
to generate "real" scenarios.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Updated version.
* lib/PandoraFMS/DataServer.pm: Support for "UNIT" tag in the
XML to update module data units from the XML.
* util/pandora_csvbridge.pl: New tool to create XML data files
from CSV files containing data.
* util/pandora_watchdog.sh: Watchdog for Pandora FMS server,
taken from the documentation and updated.
* util/pandora_dbstress.pl,
util/pandora_db.pl: Updated version strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Modify call to function
pandora_delete_not_policy_modules adding md5 filename like a
parameter.
Fixes: #3486481
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/SNMPServer.pm: Parse source field to obtain source
IP address not only when trap version is SNMPv2, but also when
snmp_pdu_address set to 1.
* conf/pandora_server.conf: Fixed comment.
* FreeBSD/pandora_server.conf: Added missing configuration tokens.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf,
lib/PandoraFMS/SNMPServer.pm,
lib/PandoraFMS/Config.pm: Added two new configuration tokens
suggested by Koichiro: snmp_ignore_authfailure and snmp_pdu_address.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/PluginServer.pm: Now PluginServer treats exit
status code 124 as "Unknown" when plugin type of the module
is nagios and module type is boolean. timeout exits with 124
if command times out.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl
lib/PandoraFMS/Core.pm: Added 'tags'parameter
to create_event and check if user name exists.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_exec: Quote command line arguments. Thanks to Junichi
Satoh.
* lib/PandoraFMS/Core.pm: Small fixes to pandora_event.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Added support for regular expressions to
the SNMP value filter. Small fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.pl: Fixed a problem with new version of perl
with threads::all, also fixed a concatenation error in a string.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Added support for ff interval. Small
improvements.
* lib/PandoraFMS/DataServer.pm: Added "timestamp" to the list of
valid XML tags.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf,
lib/PandoraFMS/Config.pm,
lib/PandoraFMS/PluginServer.pm: Use timeout by default instead of
pandora_exec.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Config.pm,
lib/PandoraFMS/PredictionServer.pm,
lib/PandoraFMS/Core.pm,
bin/pandora_server: Added support for enterprise netflow modules.
* lib/PandoraFMS/PluginServer.pm: Run plugins inside eval to avoid
server crashes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Add option to CLI to
get all policies or the policies with a given agent
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added new options to
CLI as get agent modules, get policy modules,
validate alerts, and more
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added option to add all
policy to application queue in CLI. Organize help
by categories
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.redhat.spec: Fixed a wrong dependency. RHEL has a
net-snmp-perl, not a perl-SNMP.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm: Added a missed safe input in
the get_agent_module_id function
* util/pandora_manage.pl: Added options to update a
field of a data, network, plugin or snmp module
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added options to add
network, plugin and snmp modules to policy from
CLI
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f