Nagios CCM: Update Configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hornseym
Posts: 13
Joined: Wed Nov 16, 2016 6:21 am

Nagios CCM: Update Configuration

Post by hornseym »

Is there a way to update a Nagios conguration where CCM is installed?

Let me explain more:

I have a development system and a production system, both with Nagios (the XI version) and CCM installed. In the development system I work on updating, extending and fixing issues with the Nagios configuration. On the production system I then run the Nagios system once I'm confident I have the configuration correct.

I've already deployed Nagios to the production environment. I have a new configuration from the development environment; this includes new hosts, new services and updates to current hosts and services. Is a way for me to update the configuration in the production? Will CCM accept a new configuration without me inputing it manually to go through the GUI? Or do I basically have to re-install everything with the new config? Or even do I have to put it in the static configuration directory, bypassing CCM entirely? I did try this with the import and it seemed to duplicate everything instead of update it.

Thanks,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios CCM: Update Configuration

Post by tmcdonald »

Just to clarify, is this for Nagios Core with the CCM installed separately, or is it for Nagios XI which includes the CCM by default? There are two different sets of options here, but I am a bit unsure of what exactly you are running.
Former Nagios employee
hornseym
Posts: 13
Joined: Wed Nov 16, 2016 6:21 am

Re: Nagios CCM: Update Configuration

Post by hornseym »

This is Nagios XI with CCM (as you pointed out, included by default).

I was unaware there was a different...

Many thanks,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios CCM: Update Configuration

Post by tmcdonald »

It sounds like you might be mixing the flat config files used by Core with the DB-based CCM in XI.

Generally speaking you will want to stick to the DB method:

https://assets.nagios.com/downloads/nag ... gement.pdf

However you can stick a flat config file in the static/ directory if you wish, though it will not appear appear in the CCM:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

You can also import a flat config file into the DB:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

I think between these three docs you will find a process that works for you.
Former Nagios employee
Locked