Config Error After Update
Posted: Fri Jul 11, 2014 3:03 pm
When verifying the config after updating, it's throwing all kinds of errors about services.cfg files not having service_description:
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/svrmmmc15.hhsc.org.cfg', starting on line 81)
Error processing object config files!
That's a legit server in one of our Maui hospitals, but the Description field is blank as is pretty much all of our servers. I'm not going to have to go through and add a description on all of this to run this update am I ?
Also, I've got a number of APC UPS ****.cfg files in the services directory. I don't know where they came from, didn't think you could have spaces in Linux file name, anyway, I deleted them from the command line, opened Nagios and as a test, added a description in the svrmmmc15.hhsc.org host, tried to apply that, and it errored again, plus it added those UPS files back in, which I'm sure it did that because it loaded the last good config.
UPDATE:
When I look at svrmmmc15.hhsc.org.cfg none of the service_description fields are blank only the host description field is blank. I attached the .cfg file.
Thanks
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/svrmmmc15.hhsc.org.cfg', starting on line 81)
Error processing object config files!
That's a legit server in one of our Maui hospitals, but the Description field is blank as is pretty much all of our servers. I'm not going to have to go through and add a description on all of this to run this update am I ?
Also, I've got a number of APC UPS ****.cfg files in the services directory. I don't know where they came from, didn't think you could have spaces in Linux file name, anyway, I deleted them from the command line, opened Nagios and as a test, added a description in the svrmmmc15.hhsc.org host, tried to apply that, and it errored again, plus it added those UPS files back in, which I'm sure it did that because it loaded the last good config.
UPDATE:
When I look at svrmmmc15.hhsc.org.cfg none of the service_description fields are blank only the host description field is blank. I attached the .cfg file.
Thanks