I have configured nagios. When I am trying to restart nagios service it gives me this error.
Error: Could not find any host matching 'gserve’
Error: Could not expand hostgroups and/or hosts specified in service (config file ‘/usr/local/nagios/etc/services.cfg’, starting on line 21)
I could manage to resolve this issue but not one more problem is that. I am getting an error:
Total Warnings: 1
Total Errors: 10
***> One or more problems was encountered while running the pre-flight check…
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.