repair broken config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sal@coned
Posts: 72
Joined: Thu Jan 21, 2010 4:42 pm

repair broken config

Post by sal@coned »

I am getting an error whenever I try to update the configuration.

error:
Processing object config file '/usr/local/nagios/etc/services/win_system.cfg'...
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/nagios/etc/services/drvmhost1.cfg', starting on line 14)
Error processing object config files!
I have tried to delete both the host and services in question, but I cannot apply the settings without getting the error message.

I am using Nagios XI 2012R1.2
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: repair broken config

Post by scottwilkerson »

If you go to Configure -> CCM -> Services
in the dropdown "Filter by Config Name:"
do you have options for either
drvmhost1 or win_system ?

If so, select them and you can make the changes necessary, or delete them, if you do not have them at all, run the following from the command line

Code: Select all

rm -f /usr/local/nagios/etc/services/win_system.cfg /usr/local/nagios/etc/services/drvmhost1.cfg 
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked