Export all configuration from Nagios core
Posted: Fri May 03, 2019 10:30 am
Hi support,
We want to shift all configuration from some Servers running Nagios Core to a new Nagios XI server.
After we tried copy all cfg files under /usr/local/nagios/etc/ (e.g. ./services/*.cfg ), and use the import config feature on new Nagios XI server,
it turns out that only around 10% service exists. (But host number is ok).
The original nagios core servers have total ~5000 services, and all cfg we copied are only ~ 600 (from `grep -o "define service" * | wc -l` command).
How to export all configuration from core correctly?
We want to shift all configuration from some Servers running Nagios Core to a new Nagios XI server.
After we tried copy all cfg files under /usr/local/nagios/etc/ (e.g. ./services/*.cfg ), and use the import config feature on new Nagios XI server,
it turns out that only around 10% service exists. (But host number is ok).
The original nagios core servers have total ~5000 services, and all cfg we copied are only ~ 600 (from `grep -o "define service" * | wc -l` command).
How to export all configuration from core correctly?