* 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
* 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
* util/pandora_manage.pl: Changed way to create and event now is possible
to create an event without agent_name and without agent_module.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_db.pl: Fixed bug when a blank space was behind
the data in the .conf file.
* util/pandora_diagnostic.sh,
util/pandora_db.pl,
util/pandora_manage.pl,
util/pandora_dbstress.pl: Updated version strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/util/pandora_manage.pl: Applied Kosaka's patch to store
data in DB with encoding in HTML entities.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4939 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm
lib/PandoraFMS/Core.pm
util/pandora_db.pl
util/pandora_manage.pl: Added minor functions and fixes to policy queue
and call to clean policy queue in maintenance script
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
bin/pandora_server
util/pandora_manage.pl: Added thread in main loop of the
server with check to the policy queue.
Apply and delete agents from policy in the new thread
Deleting policies lock system from server
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm
lib/PandoraFMS/Core.pm
util/pandora_manage.pl: Moved some functions from CLI to common
files
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added option to disable all the
alerts of one policy.
Updated apply_policy option to use disabled flag
on the creation and update
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Fixed invalid module id with creation of
network module. Network module should be 2.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
util/pandora_manage.pl
util/pandora_sync_db.pl: Added agents and modules
existence checks on source and destination in
sync db script. Added messages in execution time
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm
lib/PandoraFMS/Core.pm
util/pandora_manage.pl: Improved the policies
appliement with checks and the external
alerts addition
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm: Added a generic update function to return
the number of changes
* util/pandora_manage.pl: Added the unblock policies to the CLI and
the block/unblock policies when it are applied.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
util/pandora_manage.pl: Moved and renamed the module
creation from hash function from CLI to Core
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Tools.pm: Moved the util functions
from pandora_manage to Tools.
* util/pandora_manage.pl: Added the apply policy
feature: includen conf file management; modules, alerts
and collection creation
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added the parameter with
a definition module to module creation to create
a local module
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Fixed the agent deletion and
the module deletion to delete all the additional structures
and files
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Improved the last feature
of CLI deleting the modules of all conf files of
the incoming directory now
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added to CLI the deletion
of all modules without policy from config file
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added to CLI the deletion
of module from conf files when is local module
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added to CLI the option of
delete historic data from module, agent modules or
group agents modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f