Nagios XI - Manual Config File Management
This document is intended to describe how to manually maintain external object configuration files with Nagios XI.
External object configuration files are object definitions which are processed by Nagios XI but are not maintained or managed using the Nagios XI web GUI or configuration database.
External configuration files can be either created from scratch and manually maintained or generated from an external source such as an SVN server.
This functionality is useful if you have a large number of static object definitions which you want to monitor with your Nagios XI system but do not need to maintain via Nagios XI.
This document is intended for use by experienced Nagios Administrators who wish to manually manage parts of their Nagios XI configuration, such as host and service definitions.
All manual object configuration files should be stored in the following directory on your Nagios XI server:
Configuration files in this directory are processed by the monitoring engine (Nagios Core), but are not imported into the Nagios XI web configuration GUI.
*** IMPORTANT: If you make any changes in /usr/local/nagios/etc/static, you MUST follow the steps below so that a config snapshot is taken, and the static changes are included in the config snapshot for when the apply config fails in the CCM.
Verifying Your Configuration
First, make sure the configuration validates successfully. Use the following command to verify your manually-maintained Nagios Core configuration files:
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Check the command output for any error messages. If there are configuration errors, you would need to resolve them first. Please read the Resolving Configuration Errors section below to learn how.
|Posted by: tlea - Tue, Jan 26, 2016 at 12:51 AM. This article has been viewed 8440 times.|
|Online URL: https://support.nagios.com/kb/article/nagios-xi-manual-config-file-management-160.html|
Powered by PHPKB (Knowledge Base Software)