Auto-discovery wizard does not add check commands to all ser

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Auto-discovery wizard does not add check commands to all ser

Post by cloudcom »

I have exactly same problem as described in this post.

Nagios-XI version: Nagios XI 2014R1.0
Nagios Core version: Nagios Core 4.0.5

After running an Auto-Discovery Jobs, a new device is found. But it gives failure after i press the finish button like:

Configuration submitted for processing...
Waiting for configuration verification.....
Configuration verification failed.

configuration validation output is:
# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
...
...
Reading configuration data...
Read main config file okay...
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/nagios/etc/services/10.x.x.x.cfg', starting on line 14)
Error processing object config files!


Automatically created host config file 10.x.x.x.cfg has no check command on starting line 14.
Services like ping and https seem on CCM services section but Check command fields of the services are blank.

did you find a solution of this issue?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Auto-discovery wizard does not add check commands to all

Post by sreinhardt »

Was this an existing host, or one created by the autodiscovery wizard? Also if that was added with that run of autodiscovery, was it the only device you added?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Auto-discovery wizard does not add check commands to all

Post by cloudcom »

Hi sreinhardt,

I am talking about that post : http://support.nagios.com/forum/viewtop ... =6&t=27260

And I'm going to keep this topic: http://support.nagios.com/forum/viewtop ... =6&t=27310

Thanks for the help
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Auto-discovery wizard does not add check commands to all

Post by lmiltchev »

What is the version of the auto-discovery component and wizard that you see when you go to: Admin->Manage Components and Admin->Manage Config Wizards?
Be sure to check out our Knowledgebase for helpful articles and solutions!
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Auto-discovery wizard does not add check commands to all

Post by cloudcom »

it was resolved under the topic http://support.nagios.com/forum/viewtop ... 16&t=27310

Thanks for your support
Locked