Apply Configuration Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hsauerbach
Posts: 39
Joined: Thu Apr 20, 2017 9:19 am

Apply Configuration Error

Post by hsauerbach »

When trying to apply changes I get the following ERROR:
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/nagios/etc/services/XXX.cfg', starting on line 16)

I have removed XXX from configuration Solaris Server group and well as deleting the agent from the Solaris server and removing the agent process.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Apply Configuration Error

Post by tgriep »

It could be that your configurations are out of sync with the running configuration.
Try following this procedure to sync them up.

Code: Select all

Go to the Core Config Manager
Under "Tools", click "Write Config Files" or if you are running a newer versions of XI,  The menu is called "Config File Management"
Click the click the "Write" button, then the "Delete" button then click the "Write" button and then the "Verify" button
If you get any errors, resolve them and click on the "Delete" button, "Write", "Verify" until all of the errors are resolved.
Click the Apply Configuration link and click the "Apply Configuration" button after all of the errors are resolved.
If you still have an error, please post it here.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked