* 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
* util/pandora_manage.pl: Fixed a little bug in
the configuration_data field when create a data
module in a policy
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added options
--create_policy_data_module and --create_alert_template
to CLI and merged changes from Kosaka works into 4.0 branch
adding str_warning and str_critical parameters to all
modules creation options
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm
util/pandora_manage.pl: Added two new options to
CLI --update_user and --add_profile_to_user
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
util/pandora_manage.pl: Added two new options to CLI:
Create group and add agent to policy
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5308 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Discard inc data when a second value
with the same timestamp arrives. Thanks to eXXon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Tools.pm
util/pandora_db.pl: Moved is_policy_module function from
db script to Enteprise and call it through enterprise hook
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm
lib/PandoraFMS/Core.pm: Added new function db_concat and added
compatibility with postgreSQL and Oracle in function
pandora_get_module_tags.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Changed tag field in events insertion from
tag name to tag name and URL. Pending to change it for Oracle and
PostgreSQL.
Fixes: #3439792
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: Removed checksum token since it is
no longer used.
BUG FIXES: ID 3439367
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.conf: Fixed a typo that made remote
configuration not work.
* util/pandora_xml_stress.pl: Set the right server in agent conf
files.
* util/pandora_xml_stress.README: Removed sample configuration
(already in pandora_xml_stress.conf).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_db.pl: Small optimization in module deletion. Instead
delete module data, left in there to be deleted on "timestamp" deletion.
This is like 100 times faster!.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server_installer: Added "force" mode.
* util/pandora_dbstress.pl: Fixed broken code and better information
on module rate, now rendered in each second with a total average.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Tools.pm: Fixed mistake in the last commit
adding parameter in wrong function (decode embed decode).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Tools.pm: Fixed safe_input and output to
convert manually several more extended ascii characters.
Revert the last fix in safe_input because Junichi warn us the
danger of broke multibyte chars. Thanks Junichi.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/plugin/ipmi-plugin.pl: Added first version of ipmi plugin.
* util/recon_scripts/ipmi-recon.pl: Added first version of ipmi recon task
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/util/pandora_manage.pl: Added support for specifying ff_threthold
value for network, snmp and plugin module creation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/lib/PandoraFMS/DB.pm: Added function to get module group name.
* pandora_server/lib/PandoraFMS/Core.pm: Added new alert macros.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/lib/PandoraFMS/SNMPServer.pm
pandora_server/lib/PandoraFMS/Core.pm: SNMP Alerts now receibe
trap type on the _data_ macro.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f