Error with Configuring a new server in Nagios 5.2.3
Posted: Thu Feb 04, 2016 9:32 am
We had a server upgrade on Tuesday and i'm trying to add the new servers to nagios alerts. i remoted to the server and installed the nagios client to them already. there are 4 in total and only 1 out of 4 was successful. i keep getting this error " Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/edmtel-reader1.cfg', starting on line 16)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed."
Please keep in mind that i just took over this duty of taking care of nagios on Monday, so i am currently in the learning process and i don't know much about nagios. I already checked to make sure that IP address were correct and that the service i needed monitor was correctly spelled. i uninstalled the client and reinstalled it to be sure. it worked with no issue on the 1st sever i tried and i did it the exact same way that i was shown on the other 3. Please advise. thank you in advance.
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/edmtel-reader1.cfg', starting on line 16)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed."
Please keep in mind that i just took over this duty of taking care of nagios on Monday, so i am currently in the learning process and i don't know much about nagios. I already checked to make sure that IP address were correct and that the service i needed monitor was correctly spelled. i uninstalled the client and reinstalled it to be sure. it worked with no issue on the 1st sever i tried and i did it the exact same way that i was shown on the other 3. Please advise. thank you in advance.