Nagios CCM: Update Configuration

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

Nagios CCM: Update Configuration

Postby hornseym » Fri Feb 17, 2017 6:33 am

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,
hornseym
 
Posts: 13
Joined: Wed Nov 16, 2016 6:21 am

Re: Nagios CCM: Update Configuration

Postby tmcdonald » Fri Feb 17, 2017 3:25 pm

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tmcdonald
Support Lead / Operations Engineer
 
Posts: 8698
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios CCM: Update Configuration

Postby hornseym » Mon Feb 27, 2017 4:13 am

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

I was unaware there was a different...

Many thanks,
hornseym
 
Posts: 13
Joined: Wed Nov 16, 2016 6:21 am

Re: Nagios CCM: Update Configuration

Postby tmcdonald » Mon Feb 27, 2017 4:04 pm

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tmcdonald
Support Lead / Operations Engineer
 
Posts: 8698
Joined: Mon Sep 23, 2013 8:40 am


Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 18 guests