Creating Test Environment from Clone
Posted: Thu May 28, 2020 3:10 pm
Hi,
looking to build a test instance by cloning my existing prod nagiosxi server.
successful clone
disconnected eth adapter
changed IP address
stopped nagios
ran these commands and verified in nagios.cfg
sed -i 's/enable_notifications=1/enable_notifications=0/' /usr/local/nagios/etc/nagios.cfg
sed -i 's/execute_service_checks=1/execute_service_checks=0/' /usr/local/nagios/etc/nagios.cfg
sed -i 's/execute_host_checks=1/enable_notifications=0/' /usr/local/nagios/etc/nagios.cfg
echo "update xi_options set value = 'https://192.168.3.3/nagiosxi/' where name = 'url';" | mysql -uroot -pnagiosxi nagiosxi
after this i rebooted connected nic
few minutes later my users started getting flooded w/ timeout errors. we have a mix of passive/active checks.
not sure what i'm doing wrong?
looking to build a test instance by cloning my existing prod nagiosxi server.
successful clone
disconnected eth adapter
changed IP address
stopped nagios
ran these commands and verified in nagios.cfg
sed -i 's/enable_notifications=1/enable_notifications=0/' /usr/local/nagios/etc/nagios.cfg
sed -i 's/execute_service_checks=1/execute_service_checks=0/' /usr/local/nagios/etc/nagios.cfg
sed -i 's/execute_host_checks=1/enable_notifications=0/' /usr/local/nagios/etc/nagios.cfg
echo "update xi_options set value = 'https://192.168.3.3/nagiosxi/' where name = 'url';" | mysql -uroot -pnagiosxi nagiosxi
after this i rebooted connected nic
few minutes later my users started getting flooded w/ timeout errors. we have a mix of passive/active checks.
not sure what i'm doing wrong?