CCM Changes Disappearing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
chicjo01
Posts: 194
Joined: Tue Jul 28, 2015 2:52 pm

CCM Changes Disappearing

Post by chicjo01 »

Nagios XI: 5.4.2

Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/unix+default+_.cfg', starting on line 16)

Problem: When I attach a hostgroup to a service template and save. The hostgroup disappears and is no longer attached in the CCM. Only happens with the remote database.

The Apache Logs show the below error when I click on the service template:
[Mon Aug 21 15:07:19.150990 2017] [:error] [pid 83958] [client XXX.XXX.XXX.XXX:1532] PHP Warning: base64_decode() expects parameter 1 to be string, array given in /usr/local/nagiosxi/html/includes/utils-macros.inc.php on line 32, referer: http://10.193.20.112/nagiosxi/includes/ ... ate&page=1
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: CCM Changes Disappearing

Post by cdienger »

Can you provide screenshots of the behavior so we can get a better idea of what is occuring?

Also, please go to Configure > Core Config Manager > Tools > Config File Management and click:

1. Delete Files
2. Write Configs
3. Verify Files (note any warnings or errors
4. Restart Nagios Core
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
chicjo01
Posts: 194
Joined: Tue Jul 28, 2015 2:52 pm

Re: CCM Changes Disappearing

Post by chicjo01 »

Capture.PNG
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CCM Changes Disappearing

Post by scottwilkerson »

I just tested thin in 5.4.8 and it works as expected, and I thought I remembered seeing this bug in the past but couldn't put my finger on it in the change log.

Would it be possible to upgrade to the latest?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
chicjo01
Posts: 194
Joined: Tue Jul 28, 2015 2:52 pm

Re: CCM Changes Disappearing

Post by chicjo01 »

Will check if it is possible to upgrade and will let you know.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CCM Changes Disappearing

Post by scottwilkerson »

I also didn't notice that you mentioned this "only happens with the remote database"

Are you switching back and forth?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
chicjo01
Posts: 194
Joined: Tue Jul 28, 2015 2:52 pm

Re: CCM Changes Disappearing

Post by chicjo01 »

After upgrading to the latest version of Nagios, the problem continues to happen. We discovered the problem is happening only on the remote database and not local through troubleshooting.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CCM Changes Disappearing

Post by scottwilkerson »

chicjo01 wrote:After upgrading to the latest version of Nagios, the problem continues to happen. We discovered the problem is happening only on the remote database and not local through troubleshooting.
Are you switching back and forth between databases? I'm a little confused about this part.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
chicjo01
Posts: 194
Joined: Tue Jul 28, 2015 2:52 pm

Re: CCM Changes Disappearing

Post by chicjo01 »

We are trying to use a remote database, to ensure we have better performance. We are seeing the problem, where the CCM change is disappearing when we have Nagios setup to use a remote database.

The reason I only mentioned the local database is that we did troubleshooting and found this problem is only happening when we setup Nagios to only use the remote database. We are not switching them, we want to use the remote database only.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: CCM Changes Disappearing

Post by cdienger »

Please generate a profile on the XI machine(Admin > System Config > System Profile), email it to [email protected], and reference this thread. We'll open a ticket to take a closer look.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked