2011-05-12 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Change apply policy option in CLI to add application to queue git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
29a3ab5172
commit
f817a4f400
|
@ -1,3 +1,8 @@
|
|||
2011-05-12 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* util/pandora_manage.pl: Change apply policy option in CLI to
|
||||
add application to queue
|
||||
|
||||
2011-05-11 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm
|
||||
|
|
|
@ -1227,7 +1227,7 @@ sub pandora_manage_main ($$$) {
|
|||
my $policy_id = enterprise_hook('get_policy_id',[$dbh, $policy_name]);
|
||||
exist_check($policy_id,'policy',$policy_name);
|
||||
|
||||
enterprise_hook('pandora_apply_policy', [$dbh, $conf, $policy_id]);
|
||||
enterprise_hook('pandora_add_policy_queue', [$dbh, $conf, $policy_id, 'apply']);
|
||||
}
|
||||
elsif ($param eq '--disable_policy_alerts') {
|
||||
param_check($ltotal, 1);
|
||||
|
|
Loading…
Reference in New Issue