diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 789fb019fb..3bd4b8a2cf 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2012-01-11 Sergio Martin + + * util/pandora_manage.pl: Little fixes over the last + changes + 2012-01-11 Sergio Martin * util/pandora_manage.pl: Added options diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 402a8ab08e..bc6d22d899 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -486,11 +486,11 @@ sub help_screen{ help_screen_line('--update_user', ' ', 'Update a user field. The fields can be the following: email, phone, is_admin (0-1), language, id_skin, flash_chart (0-1), comments, fullname, password'); help_screen_line('--add_profile_to_user', ' []', 'Add a profile in group to a user'); help_screen_line('--get_module_data', ' []', 'Show the data of a module in the last X seconds (interval) in CSV format'); - help_screen_line('--create_policy_data_module', ' [ ]', 'Add data server module to policy'); - #help_screen_line('--create_policy_network_module', ' [ ]', 'Add not snmp network module to policy'); - #help_screen_line('--create_policy_snmp_module', ' [ ]', 'Add snmp network module to policy'); - #help_screen_line('--create_policy_plugin_module', ' [ ]', 'Add plug-in module to policy'); - help_screen_line('--create_alert_template', ' [ ]', 'Create alert template'); + help_screen_line('--create_policy_data_module', ' [ ]', 'Add data server module to policy'); + #help_screen_line('--create_policy_network_module', ' [ ]', 'Add not snmp network module to policy'); + #help_screen_line('--create_policy_snmp_module', ' [ ]', 'Add snmp network module to policy'); + #help_screen_line('--create_policy_plugin_module', ' [ ]', 'Add plug-in module to policy'); + help_screen_line('--create_alert_template', ' [ ]', 'Create alert template'); print "\n"; exit; @@ -924,7 +924,7 @@ sub cli_create_snmp_module() { my ($module_name, $module_type, $agent_name, $module_address, $module_port, $version, $community, $oid, $description, $module_group, $min, $max, $post_process, $interval, $warning_min, $warning_max, $critical_min, $critical_max, $history_data, $snmp3_priv_method, $snmp3_priv_pass, - $snmp3_sec_level, $snmp3_auth_method, $snmp3_auth_user, $snmp3_priv_pass, $ff_threshold, $warning_str, $critical_str) = @ARGV[2..29]; + $snmp3_sec_level, $snmp3_auth_method, $snmp3_auth_user, $snmp3_auth_pass, $ff_threshold, $warning_str, $critical_str) = @ARGV[2..29]; my $module_name_def; my $module_type_def; @@ -987,7 +987,7 @@ sub cli_create_snmp_module() { $parameters{'custom_string_3'} = $snmp3_sec_level; $parameters{'plugin_parameter'} = $snmp3_auth_method; $parameters{'plugin_user'} = $snmp3_auth_user; - $parameters{'plugin_pass'} = $snmp3_priv_pass; + $parameters{'plugin_pass'} = $snmp3_auth_pass; } # id_modulo = 2 for snmp modules