Domain Expiration wizard - not adding check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Domain Expiration wizard - not adding check

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Domain Expiration wizard - not adding check

Post by abrist »

What version of XI and the domain expiration wizard are you running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: Domain Expiration wizard - not adding check

Post 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.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Domain Expiration wizard - not adding check

Post 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
You do not have the required permissions to view the files attached to this post.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: Domain Expiration wizard - not adding check

Post by jpipitone »

NagiosXI: 2014R2.7
Config Wizard: 1.1.0
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Domain Expiration wizard - not adding check

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: Domain Expiration wizard - not adding check

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Domain Expiration wizard - not adding check

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: Domain Expiration wizard - not adding check

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Domain Expiration wizard - not adding check

Post 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.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked