When I run Domain Wizard it doesn't seem to do anything

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

When I run Domain Wizard it doesn't seem to do anything

Post by tecnalb »

When I run the wizard to setup, it creates just a basic host check, but no actual command is created to check expiration. Mine is version 1.1.0

I was looking at the example on the Nagios blog here https://labs.nagios.com/2014/08/08/how- ... s-xi-2014/

Mine doesn't populate the http://<domain> the same way.

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

Re: When I run Domain Wizard it doesn't seem to do anything

Post by lmiltchev »

What is the domain that you entered in Step 2 of the wizard? Can you run the following command from the CLI and show us the output?

Code: Select all

/usr/local/nagios/libexec/check_domain.php -d <your domain> -w 30 -c 10
Be sure to check out our Knowledgebase for helpful articles and solutions!
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: When I run Domain Wizard it doesn't seem to do anything

Post by tecnalb »

[root@nagios ~]# /usr/local/nagios/libexec/check_domain.php -d storeitoffsite.com -w 30 -c 10
PHP Warning: getopt(): No support for long options in this build in /usr/local/nagios/libexec/check_domain.php on line 59
OK - Domain storeitoffsite.com will expire in 192 days (2015-11-29T05:00:00Z).
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: When I run Domain Wizard it doesn't seem to do anything

Post by lmiltchev »

Can you show us the host and the service config (if created by the wizard)?

CCM->Hosts-><your host>->View Text Config
CCM->Services-><your service>->View Text Config

Also, run the following commands and show us the output:

Code: Select all

php --version
uname -a
cat /etc/*release
Be sure to check out our Knowledgebase for helpful articles and solutions!
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: When I run Domain Wizard it doesn't seem to do anything

Post by tecnalb »

OK, so I created a new domain, and it worked just like it should... ugh.... so i missed something here... my apologies on this...
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: When I run Domain Wizard it doesn't seem to do anything

Post by lmiltchev »

No problem. I will be locking this topic and marking it as resolved. If you have any more issues/questions, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked