Remote scheduled backup publickey/privatekey?!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Remote scheduled backup publickey/privatekey?!

Post by xpertech »

When setting the remote AWS scheduled backup, how to type the publickey/privatekey? is there a sample config document?
You do not have the required permissions to view the files attached to this post.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Remote scheduled backup publickey/privatekey?!

Post by mbellerue »

We have a document for backups here,
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

This covers SSH backups, and talks about configuring SSH keys starting on page 5. Does this help with your issue?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Remote scheduled backup publickey/privatekey?!

Post by xpertech »

since the remote site is on AWS, don't know how to upload key(pem/ppk)?
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Remote scheduled backup publickey/privatekey?!

Post by mbellerue »

We don't have an AWS account to test with, but SSH on AWS should work the same as SSH anywhere else. Are you able to SSH in to the AWS system at all?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Remote scheduled backup publickey/privatekey?!

Post by xpertech »

Since NagiosXI support AWS EC2 ..., suppose should have AWS account in order to design the plugin?! is it possible that Nagios talk to Amazon to apply a testing account for supporting purpose?
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Remote scheduled backup publickey/privatekey?!

Post by mbellerue »

We can definitely walk through the process. I just won't have anything specific for Amazon EC2, which shouldn't be a problem if the server is just a regular virtual machine in Amazon's cloud.

This assumes that the Amazon EC2 server is the destination server for the backups, and that there is a service account called nagios on the destination server.

In the SSH Backup configuration screen of Nagios XI, hit the Generate Public / Private Key button. This will generate public and private keys with the naming convention of ssh.xi.unixtime
Then from the command line of the Nagios XI server, run the following commands,

Code: Select all

cd /usr/local/nagiosxi/var/keys/
ssh-copy-id -i ./ssh.xi.unixtime.pub nagios@amazon-vm-address
It will ask you to verify the host key, and then provide a password for the nagios user on the Amazon VM.

Once this is done, you can finish filling out the fields in the Nagios XI SSH backup interface.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked