an error occurred while attempting to apply your configuration to Nagios Core.
<div>Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/Yale University 100.cfg', starting on line 16)</div><div>Error: Service escalation host name or description is NULL</div><div>Error: Could not register service escalation (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 27)</div>
Nagios xi
-
- Posts: 318
- Joined: Wed Aug 23, 2023 11:27 am
Re: Nagios xi
Hi @Symphonyts
It seems like you're having an issue applying changes to your Core Configuration. From the error message it looks like you're trying to submit a change that is missing some mandatory information. In addition, Services must have an associated parent Host. You should be able to edit the service you're trying to make to include a service description and select a host to correlate this service with.
If this doesn't address your issue, some more context about what you are trying to achieve would be helpful. Please let us know what version of Nagios xi and what Distro/Version you are using as well.
It seems like you're having an issue applying changes to your Core Configuration. From the error message it looks like you're trying to submit a change that is missing some mandatory information. In addition, Services must have an associated parent Host. You should be able to edit the service you're trying to make to include a service description and select a host to correlate this service with.
If this doesn't address your issue, some more context about what you are trying to achieve would be helpful. Please let us know what version of Nagios xi and what Distro/Version you are using as well.
-
- Posts: 72
- Joined: Wed Aug 09, 2023 10:38 am
Re: Nagios xi
It might be the file name?
Maybe change "Yale University 100.cfg" to something without spaces, like "Yale_University_100.cfg" or "YaleUniversity100.cfg".
If the space isn't properly escaped in configuration files or command-line operations, it can lead to errors.
Maybe change "Yale University 100.cfg" to something without spaces, like "Yale_University_100.cfg" or "YaleUniversity100.cfg".
If the space isn't properly escaped in configuration files or command-line operations, it can lead to errors.