Hello
I'm using the NagiosXI virtual machine for Vmware, downloaded from the NagiosXI site today. I attached the "Nagios XI Installation Profile" with the info.
I tried to add a network device (SNMP or SNMP OID, ping ) etc all with the same error:
OK - Configuration submitted for processing...
NOK - Waiting for configuration verification
NOK - Configuration verification failed.
I restarted the VM, I restarted the service npde, but not solved.
what's wrong ?
I'm able to connect to the network device tried to add to NagiosXI and make an snmpwalk.
thanks in advance
Regards
GB
Waiting for configuration verification
Waiting for configuration verification
You do not have the required permissions to view the files attached to this post.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Waiting for configuration verification
On the screen where configuration verification failed you should have an option to show configuration errors. Copy and paste that bit here.
Re: Waiting for configuration verification
hello
this is the content of the error
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://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/10.157.246.13.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.
I checked the file '/usr/local/nagios/etc/services/10.157.246.13.cfg'
I attached it too.
thanks again
GB
this is the content of the error
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://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/10.157.246.13.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.
I checked the file '/usr/local/nagios/etc/services/10.157.246.13.cfg'
I attached it too.
thanks again
GB
You do not have the required permissions to view the files attached to this post.
Re: Waiting for configuration verification
Error: Invalid max_check_attempts value for host 'Fabric B'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/Fabric B.cfg', starting on line 16)
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/Fabric B.cfg', starting on line 16)
Re: Waiting for configuration verification
hello
I found the reason, I set the value max_check_attempts (despite is not mandatory!!)
now it register the host
thanks and regards
GB
I found the reason, I set the value max_check_attempts (despite is not mandatory!!)
now it register the host
thanks and regards
GB
Re: Waiting for configuration verification
Actually the max_check_attempts value is required for a host:
https://assets.nagios.com/downloads/nag ... .html#host
Just wanted to make that clear.
At any rate, are we alright to lock this thread?
https://assets.nagios.com/downloads/nag ... .html#host
Just wanted to make that clear.
At any rate, are we alright to lock this thread?
Former Nagios employee
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Waiting for configuration verification
Max Check Attempts is absolutely mandatory. The reason you're thinking it isn't is because there is no red asterisk next to it? This simply means it's not mandatory on that screen - as in it can be pulled in from a template. To know what configuration directives are mandatory from top to bottom (irrespective of individual service or dragged in from template) look at the help and documentation within that screen - see attachment.Genfry wrote:hello
I found the reason, I set the value max_check_attempts (despite is not mandatory!!)
now it register the host
thanks and regards
GB
Worth noting - if you go through the wizard it won't let you create a service with missing parameters. I understand the wizards aren't for everyone though.
That said - glad you got it sorted - is your XI trial working for you now? OK to close?
You do not have the required permissions to view the files attached to this post.