Page 1 of 1
Discovery not applying configuration - missing check cmd
Posted: Thu May 15, 2014 6:35 pm
by RickJohnson
Want to move from Nagios 3 to Enterprise Nagios XI. Big selling point for management is auto discovery and automated addition of checks. This feature, however, is not working in the latest release we are testing. Discovery works, when going to check which services you want checked, the hosts and services get added to CCM but the check command itself is missing from all service checks. It can be manually added, but having thousands of hosts make that pretty annoying.
Anyone run into this?
Host was both the vSphere ova, and a manual installation of latest Nagios XI. Thank you.
Re: Discovery not applying configuration - missing check cmd
Posted: Fri May 16, 2014 10:26 am
by tmcdonald
Are you talking about Nagios XI 2014r1.0 or 2012r2.9?
And for those hosts and services, are they being assigned a template at all? If so the command might be getting defined in there.
Re: Discovery not applying configuration - missing check cmd
Posted: Fri May 16, 2014 6:39 pm
by RickJohnson
tmcdonald wrote:Are you talking about Nagios XI 2014r1.0 or 2012r2.9?
And for those hosts and services, are they being assigned a template at all? If so the command might be getting defined in there.
Talking about the very latest release
Your Nagios XI installation is up to date.
Latest Available Version: 2014R1.0
Installed Version: 2014R1.0
Last Update Check: 2014-05-16 19:23:09
Re: Discovery not applying configuration - missing check cmd
Posted: Fri May 16, 2014 7:27 pm
by RickJohnson
tmcdonald wrote:Are you talking about Nagios XI 2014r1.0 or 2012r2.9?
And for those hosts and services, are they being assigned a template at all? If so the command might be getting defined in there.
Apologies tmcdonald, I am unfamiliar with the mechanics of this forum, so I cannot seem to go back to edit my reply to you.
Here is the course of action as simple as I can place it:
Deploy OVA
Discover local network
Add local hosts via Discovery Wizard
Check boxes for ssh and http for local hosts ~20
Click Finish (just for testing we are ignoring groups etc)
Apply Config fails
Go into CCM
Check Service checks for ssh and http
Checks exist, but check cmd is absent
add check cmd for associated ssh or http for all 20 hosts
Apply config
Successful
It looks like the automated discovery wizard, when selecting which service checks to use against the hosts discovered, does not automatically add the check command to the definition. Some DO work, such as LDAP and RDP checks, but ssh and the majority of others do not autopopulate the command.
Re: Discovery not applying configuration - missing check cmd
Posted: Mon May 19, 2014 12:22 pm
by tmcdonald
Open up one of the SSH services and click the Manage Templates button. If there is anything assigned in there, that means a template is taking care of the command and it will not show up in the service itself.