Nagios Backup in EC2 environment
Posted: Thu Dec 11, 2014 8:22 pm
How do I setup my NagiosXI Scheduled backups to use ssh/scp in the AWS environment?
I have tested scp manually but got stuck trying to configure it on the Scheduled Backups screen. Not sure where I should enter my pem file details?
This is what works manually:
scp -i /home/ec2-user/.ssh/My-Key-Pair.pem /store/backups/nagiosxi/nagiosxi*.gz [email protected]:/tmp
I suspect I may also have problems if the backup process is not run as the root user as my pem file can't be read by other users.
Regards.. Fred
I have tested scp manually but got stuck trying to configure it on the Scheduled Backups screen. Not sure where I should enter my pem file details?
This is what works manually:
scp -i /home/ec2-user/.ssh/My-Key-Pair.pem /store/backups/nagiosxi/nagiosxi*.gz [email protected]:/tmp
I suspect I may also have problems if the backup process is not run as the root user as my pem file can't be read by other users.
Regards.. Fred