Page 1 of 1

Nagios Backup in EC2 environment

Posted: Thu Dec 11, 2014 8:22 pm
by Fred Kroeger
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

Re: Nagios Backup in EC2 environment

Posted: Fri Dec 12, 2014 11:01 am
by cmerchant
We couldn't find a way currently to do the ssh connection with key. I have submitted an internal feature request, TASK ID 4689. Thanks.