From 01339015a693401ee391e0cb7e08086558001578 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Fri, 20 Jan 2012 10:55:18 +0000 Subject: [PATCH] 2012-01-20 Sergio Martin * util/pandora_manage.pl: Fixed some typos and help git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/util/pandora_manage.pl | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index fa20971672..877d8b1fec 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2012-01-20 Sergio Martin + + * util/pandora_manage.pl: Fixed some typos and + help + 2012-01-20 Sergio Martin * lib/PandoraFMS/Core.pm diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index b657a3a536..96c36aa0a2 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -93,7 +93,7 @@ sub help_screen{ help_screen_line('--get_agent_modules', '', 'Get the modules of an agent'); help_screen_line('--get_agents', '[ ]', 'Get list of agents with optative filter parameters'); help_screen_line('--delete_conf_file', '', 'Delete a local conf of a given agent'); - help_screen_line('--clean_conf_file', '', 'Delete a local conf of a given agent'); + help_screen_line('--clean_conf_file', '', 'Clean a local conf of a given agent deleting all modules, policies, file collections and comments'); help_screen_line('--get_bad_conf_files', '', 'Get the files bad configured (without essential tokens)'); print "MODULES:\n\n" unless $param ne ''; help_screen_line('--create_data_module', ' [ ]', 'Add data server module to agent'); @@ -2759,7 +2759,7 @@ sub cli_get_bad_conf_files() { foreach my $file (@files) { # Check important tokens my $missings = 0; - my @tokens = ("server_ip","server_path","temporal","logfile","trol"); + my @tokens = ("server_ip","server_path","temporal","logfile"); foreach my $token (@tokens) { if(enterprise_hook('pandora_check_conf_token',[$conf->{incomingdir}.'/conf/'.$file, $token]) == 0) {