Error: Service has no hosts and/or service_description

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
valmberg
Posts: 49
Joined: Fri May 16, 2014 9:43 pm

Re: Error: Service has no hosts and/or service_description

Post by valmberg »

Yes. I am using Manage Hosts to attach a host to the service. However, when I Apply Configuration, the host_name does not get applied to the cfg file.

I've attached a screen shot showing that the service has one managed host. Again, I'm not sure why the host_name is not getting added to the .CFG file. However, if I REMOVE the host name and assign the wildcard "*", the host_name gets added with * and the configuration gets applied successfully.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Error: Service has no hosts and/or service_description

Post by rkennedy »

Could you actually show us the screenshot after you click 'Manage Hosts'? We'll need to make sure it's assigned properly.
Former Nagios Employee
valmberg
Posts: 49
Joined: Fri May 16, 2014 9:43 pm

Re: Error: Service has no hosts and/or service_description

Post by valmberg »

Here is a pic of the Manage host assignment window. Again, if I remove the assigned host (cenvapprd51) and add '*', the Apply Configuration will work and add host_name = *

But when I go back and remove '*' and assign a specific host, when I Apply Configuration, it will fail with the error message "Error: Service has no hosts and/or service_description...". When I go into the Cenvapprd51.cfg file, the host_name is then missing.

This happens to all of the services - not just this one host.
You do not have the required permissions to view the files attached to this post.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Error: Service has no hosts and/or service_description

Post by avandemore »

Let's move this into a ticket and we can setup a remote to look at this.

From an authorized email(the one associated from this account should work) send a request to [email protected].

In that email please include a link back to this thread. Once you have done so reply on this thread again so we know it is ok to lock it.
Previous Nagios employee
valmberg
Posts: 49
Joined: Fri May 16, 2014 9:43 pm

Re: Error: Service has no hosts and/or service_description

Post by valmberg »

I have sent an email to [email protected]

thanks
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Error: Service has no hosts and/or service_description

Post by avandemore »

Ticket received, closing this thread.
Previous Nagios employee
Locked