mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
help message for migrate tool
This commit is contained in:
parent
06ff6d85ee
commit
bb41da5ed4
@ -18,6 +18,15 @@ use IO::Socket::INET;
|
|||||||
use File::Copy;
|
use File::Copy;
|
||||||
|
|
||||||
|
|
||||||
|
my $HELP=<<EO_HELP;
|
||||||
|
|
||||||
|
Pandora FMS log migration tool (c) Artica ST
|
||||||
|
|
||||||
|
Usage $0 /etc/pandora/pandora_server.conf
|
||||||
|
|
||||||
|
|
||||||
|
EO_HELP
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# Migrate log data
|
# Migrate log data
|
||||||
########################################################################
|
########################################################################
|
||||||
@ -111,6 +120,12 @@ sub recursive_file_apply {
|
|||||||
|
|
||||||
my %pa_config;
|
my %pa_config;
|
||||||
|
|
||||||
|
if ($#ARGV < 0) {
|
||||||
|
print STDERR $HELP;
|
||||||
|
exit 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
pandora_init(\%pa_config, 'Pandora FMS log migration tool');
|
pandora_init(\%pa_config, 'Pandora FMS log migration tool');
|
||||||
pandora_load_config (\%pa_config);
|
pandora_load_config (\%pa_config);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user