|
|
|
@ -353,6 +353,7 @@ sub collect_remote_data |
|
|
|
|
# Copying the file |
|
|
|
|
print "Done! Copying to here... "; |
|
|
|
|
$anvil->Storage->rsync({ |
|
|
|
|
debug => 2, |
|
|
|
|
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/journalctl-previous-boot.log", |
|
|
|
|
destination => $target_directory."/", |
|
|
|
|
}); |
|
|
|
@ -392,6 +393,7 @@ sub collect_remote_data |
|
|
|
|
# Copying the file |
|
|
|
|
print "Done! Copying to here... "; |
|
|
|
|
$anvil->Storage->rsync({ |
|
|
|
|
debug => 2, |
|
|
|
|
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/journalctl-current-boot.log", |
|
|
|
|
destination => $target_directory."/", |
|
|
|
|
}); |
|
|
|
@ -431,6 +433,7 @@ sub collect_remote_data |
|
|
|
|
{ |
|
|
|
|
print "- Grabbing cloud-init logs... "; |
|
|
|
|
$anvil->Storage->rsync({ |
|
|
|
|
debug => 2, |
|
|
|
|
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/var/log/cloud-init*", |
|
|
|
|
destination => $target_directory."/", |
|
|
|
|
}); |
|
|
|
@ -499,6 +502,7 @@ sub collect_remote_data |
|
|
|
|
|
|
|
|
|
print "- Grabbing hosts file... "; |
|
|
|
|
$anvil->Storage->rsync({ |
|
|
|
|
debug => 2, |
|
|
|
|
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/etc/hosts", |
|
|
|
|
destination => $target_directory."/", |
|
|
|
|
}); |
|
|
|
@ -522,6 +526,7 @@ sub collect_remote_data |
|
|
|
|
|
|
|
|
|
print "- Grabbing Anvil! log... "; |
|
|
|
|
$anvil->Storage->rsync({ |
|
|
|
|
debug => 2, |
|
|
|
|
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/var/log/anvil.log", |
|
|
|
|
destination => $target_directory."/", |
|
|
|
|
}); |
|
|
|
@ -559,6 +564,7 @@ sub collect_remote_data |
|
|
|
|
# Copying the file |
|
|
|
|
print "Done! Copying to here... "; |
|
|
|
|
$anvil->Storage->rsync({ |
|
|
|
|
debug => 2, |
|
|
|
|
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/cib.xml", |
|
|
|
|
destination => $target_directory."/", |
|
|
|
|
}); |
|
|
|
@ -586,6 +592,7 @@ sub collect_remote_data |
|
|
|
|
{ |
|
|
|
|
print "- Collecting server definitions... "; |
|
|
|
|
$anvil->Storage->rsync({ |
|
|
|
|
debug => 2, |
|
|
|
|
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/mnt/shared/definitions", |
|
|
|
|
destination => $target_directory."/", |
|
|
|
|
}); |
|
|
|
@ -593,6 +600,7 @@ sub collect_remote_data |
|
|
|
|
|
|
|
|
|
print "- Collecting replicated storage config... "; |
|
|
|
|
$anvil->Storage->rsync({ |
|
|
|
|
debug => 2, |
|
|
|
|
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/etc/drbd.d", |
|
|
|
|
destination => $target_directory."/", |
|
|
|
|
}); |
|
|
|
|