Page 1 of 1

Nagiosxi apply configuration error

Posted: Mon Aug 09, 2021 5:19 am
by lanxessinfy
Hello,

I am getting below errors while applying configuration in Nagios.

There was an error while attempting to apply configuration. Error code: 255.

An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.

Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/Monitoring Memory on Routers-10.75.12.1.cfg', starting on line 16)

Re: Nagiosxi apply configuration error

Posted: Mon Aug 09, 2021 3:42 pm
by gsmith
Hi,

Go to Configure, Core Config Manager. Click on the blue box that says "Services" and find the
service caalled "Monitoring Memory on Routers-10.75.12.1". Edit it (wrench icon under actions).
In this pic, circled in yellow there is a box that says "Manage Hosts".
Image3.jpg
Yours probably shows a "0" whereas mine shows a "1". Click on the "Manage Hosts" box, and add
a host to be monitored. Save. Then "Apply Configuration".

Please let me know how you make out.

Thanks!

Re: Nagiosxi apply configuration error

Posted: Fri Aug 13, 2021 8:23 am
by lanxessinfy
Hi ,

thank you.

now we can able to apply configuration.