Hi,
We have a problem with saving new configuration on service management screen. First we created our own command to get the interface status infos of servers.
($USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$)
Then, we have added a new service using our this new command on the service management tab as below screen.
We saved the changes and clicked the apply configuration button. Configuration varification fails.
What should we do?
Thanks.
Configuration verification failed during apply configuration
Configuration verification failed during apply configuration
You do not have the required permissions to view the files attached to this post.
Re: Configuration verification failed during apply configura
Go to the Core Config Manager and in the left-hand side under Tools you will see "Write Config Files". Click that, and then click Write, then Verify, and send us the output of the Verify.
Former Nagios employee
Re: Configuration verification failed during apply configura
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/172.16.100.252.cfg', starting on line 79)
Nagios Core 4.0.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-11-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/static/check_mk_templates.cfg', starting at line 88)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/static/check_mk_templates.cfg', starting at line 157)
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/172.16.100.252.cfg', starting on line 79)
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.
Thanks and regards
Nagios Core 4.0.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-11-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/static/check_mk_templates.cfg', starting at line 88)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/static/check_mk_templates.cfg', starting at line 157)
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/172.16.100.252.cfg', starting on line 79)
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.
Thanks and regards
Re: Configuration verification failed during apply configura
Did you add this service to a host? Click on the "Manage Hosts" button under "Service Management", add the service to a host, save, and try to apply configuration again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Configuration verification failed during apply configura
Hi lmiltchev,
Thanks for the support. I have not configured the "manage host" section. After adding host, I got fail again but this time I used the "write config files" and "verify" and saw that alert settings, check settings were blank. So,
I have learnt how to figure out a problem and how to add a service
Now, It works.
Thanks!
Thanks for the support. I have not configured the "manage host" section. After adding host, I got fail again but this time I used the "write config files" and "verify" and saw that alert settings, check settings were blank. So,
I have learnt how to figure out a problem and how to add a service
Now, It works.
Thanks!
Re: Configuration verification failed during apply configura
I am glad I could help!
Locking the topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!