From 64c5f03a08472d3ffa38a50422adfaea3b8a0f7e Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Fri, 24 Sep 2010 11:57:14 +0000 Subject: [PATCH] 2010-09-24 Sergio Martin * util/pandora_manage.pl: Added the apply_policy help git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/util/pandora_manage.pl | 1 + 2 files changed, 6 insertions(+) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index d5b7dd9fb3..b8e30c9b1d 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2010-09-24 Sergio Martin + + * util/pandora_manage.pl: Added the apply_policy + help + 2010-09-24 Sergio Martin * lib/PandoraFMS/Tools.pm: Moved the util functions diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 4b27e05e82..3bd8947f1e 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -544,6 +544,7 @@ sub help_screen{ help_screen_line('--create_incident', ' <description> <origin> <status> <priority 0 for Informative, 1 for Low, 2 for Medium, 3 for Serious, 4 for Very serious or 5 for Maintenance> <group> [<owner>]', 'Create incidents'); help_screen_line('--delete_data', '-m <module_name> <agent_name> | -a <agent_name> | -g <group_name>', 'Delete historic data of a module, the modules of an agent or the modules of the agents of a group'); help_screen_line('--delete_not_policy_modules', '', 'Delete all modules without policy from configuration file'); + help_screen_line('--apply_policy', '<policy_name>', 'Force apply a policy'); print "\n"; exit; }