NagiosXI: Server migration

How to transfer nagios xi to another server

 

1.We need to create a backup of configs

  • Creating A Backup From The Command Line

run this script on old server:

/usr/local/nagiosxi/scripts/backup_xi.sh
  • Creating A Backup In The Web Interface

Admin — System Backups — Local Backup Archives — Create Backup

2. Restore backup to the new Nagios XI instance:

/usr/local/nagiosxi/scripts/restore_xi.sh /full/path/to/backupfile.tar.gz

 

 

Now let’s see what the official manual did not mention:

do you have vpn tunnel on your monitoring server?
— ovpn configs + /etc/init.d/openvpn

smth custom scripts?
— /opt/scripts

— custom scripts from libexec: timezone, service status, port status

important crontasks?
crontabs

do you use esx monitoring?
— ssh keys for vi-admin (check_by_ssh checks)

 

Possible post-transfer problems

For network devices check with error like «/var/lib/mrtg/.rrd does not exist» we need to re-create it
______________
VM ESX monitoring (box293_check_vmware) setup by official manual

 

______________

dhcp_check error

DHCP check: Could not bind interface eth0 :
it because there’s NO such iface. Add $ARG1$ : -i ens160

 

 

 

AskDevops —> https://t.me/ithangouts

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *