Page 1 of 1
When I run Domain Wizard it doesn't seem to do anything
Posted: Thu May 21, 2015 7:19 am
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!
Re: When I run Domain Wizard it doesn't seem to do anything
Posted: Thu May 21, 2015 10:15 am
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
Re: When I run Domain Wizard it doesn't seem to do anything
Posted: Thu May 21, 2015 10:25 am
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).
Re: When I run Domain Wizard it doesn't seem to do anything
Posted: Thu May 21, 2015 12:07 pm
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
Re: When I run Domain Wizard it doesn't seem to do anything
Posted: Thu May 21, 2015 12:43 pm
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...
Re: When I run Domain Wizard it doesn't seem to do anything
Posted: Thu May 21, 2015 1:02 pm
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.