Page 1 of 2
Domain Expiration wizard - not adding check
Posted: Fri May 29, 2015 11:43 am
by jpipitone
I have a service check for a domain which checks HTTP for a valid response. I am running the Domain Expiration wizard and adding a check, however it doesn't seem to add the domain expiration check. The only service that appears for the host is HTTP.
It seems if we already have the host/domain added, NagiosXI doesn't seem to want to add the domain expiration check. If the host/domain doesn't already exist in the config, it adds the expiration check just fine.
Any ideas? Thank you
Re: Domain Expiration wizard - not adding check
Posted: Fri May 29, 2015 12:23 pm
by abrist
What version of XI and the domain expiration wizard are you running?
Re: Domain Expiration wizard - not adding check
Posted: Mon Jun 01, 2015 10:02 am
by jpipitone
abrist wrote:What version of XI and the domain expiration wizard are you running?
2014R2.7
Domain expiration wizard - not sure. I tried looking through the php file via the cli, and did not see a version number. As far as I know, it's the wizard that came with NagiosXI 2014.
Re: Domain Expiration wizard - not adding check
Posted: Mon Jun 01, 2015 10:50 am
by jolson
You can find the version of your wizard under 'Admin -> Manage Config Wizards'.
2015-06-01 10_49_44-Nagios XI - Administration - Firefox Developer Edition.png
Re: Domain Expiration wizard - not adding check
Posted: Mon Jun 01, 2015 10:55 am
by jpipitone
NagiosXI: 2014R2.7
Config Wizard: 1.1.0
Re: Domain Expiration wizard - not adding check
Posted: Mon Jun 01, 2015 11:30 am
by lmiltchev
Can you re-run the wizard and post a screenshot from "Step 3" of the "Domain Expiration Monitoring Wizard", showing the address, warning and critical thresholds? Do you see any errors in the apache error log?
Code: Select all
tail -100 /var/log/httpd/error_log
Re: Domain Expiration wizard - not adding check
Posted: Mon Jun 01, 2015 11:37 am
by jpipitone
There are no errors in the apache error log. The wizard works fine as long as I don't already have any other checks for the domain.
Screen Shot 2015-06-01 at 12.35.03 PM.png
Re: Domain Expiration wizard - not adding check
Posted: Mon Jun 01, 2015 12:13 pm
by lmiltchev
The wizard works fine as long as I don't already have any other checks for the domain.
Can you elaborate on this? What other checks? Can you show us the config?
Re: Domain Expiration wizard - not adding check
Posted: Mon Jun 01, 2015 12:45 pm
by jpipitone
I currently have host checks for a domain that checks for a valid HTTP response using check_xi_service_http. If I attempt to run the Domain Expiration Wizard to add the check to an already existing host, it does not add the domain expiration check.
If I first add the domain using the Domain Expiration Wizard, and then add the HTTP check after, that works.
Which config file do you want to see? Our config is quite large.
Re: Domain Expiration wizard - not adding check
Posted: Mon Jun 01, 2015 2:10 pm
by lmiltchev
There is a bug in the "Domain Expiration" wizard, where the wizard won't not create a service if the host exists. This is fixed in the next version of the wizard. You can download the "patched" version of the wizard below:
domain_expiration.zip
Don't unzip it but install it by going to: Admin->Manage Config Wizards->Browse->domain_expiration.zip->Upload Wizard
Rerun the "Domain Expiration" wizard against a host that already exists and see if the "Domain Expiration" service will be added.