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
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.
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.
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.
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.
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.