Waiting for configuration verification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Genfry
Posts: 5
Joined: Thu Jul 23, 2015 9:52 am

Waiting for configuration verification

Post by Genfry »

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
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

Post by jdalrymple »

On the screen where configuration verification failed you should have an option to show configuration errors. Copy and paste that bit here.
Genfry
Posts: 5
Joined: Thu Jul 23, 2015 9:52 am

Re: Waiting for configuration verification

Post by Genfry »

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
You do not have the required permissions to view the files attached to this post.
Genfry
Posts: 5
Joined: Thu Jul 23, 2015 9:52 am

Re: Waiting for configuration verification

Post by Genfry »

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)
Genfry
Posts: 5
Joined: Thu Jul 23, 2015 9:52 am

Re: Waiting for configuration verification

Post by Genfry »

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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Waiting for configuration verification

Post by tmcdonald »

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?
Former Nagios employee
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Waiting for configuration verification

Post by jdalrymple »

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
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.

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.
Locked