Hi there!
I have a small problem and I need your advice. I cannot make working the check_domain.php script with my domain, which has as extension the ".com.gr". I think that the problem is on the whois db server. Any ideas please?
Thank you in advance
Manuel
Domain expiration for .gr and .com.gr domains
-
- Posts: 3
- Joined: Wed Feb 07, 2024 4:00 am
Re: Domain expiration for .gr and .com.gr domains
Hi @mvoloudakis,
Can you provide some more info about the error you're running into? What XI version and OS are you running for your XI server? What is the command you're using for the check_domain.php script?
If you believe the issue is with the whois server, you should be able to specify a different one using the -s option in your command for the plugin.
Can you provide some more info about the error you're running into? What XI version and OS are you running for your XI server? What is the command you're using for the check_domain.php script?
If you believe the issue is with the whois server, you should be able to specify a different one using the -s option in your command for the plugin.
-
- Posts: 3
- Joined: Wed Feb 07, 2024 4:00 am
Re: Domain expiration for .gr and .com.gr domains
The command is:
/usr/local/nagios/libexec/check_domain.php -d kritikos-holdings.com.gr
and the error is:
Error running whois:
The OS version is CentOS-7 and my Nagios XI version is 2024R1.0.1
As far as the -s command, I am aware of that but I have no idea which whois server to use.
Thank you again.
/usr/local/nagios/libexec/check_domain.php -d kritikos-holdings.com.gr
and the error is:
Error running whois:
The OS version is CentOS-7 and my Nagios XI version is 2024R1.0.1
As far as the -s command, I am aware of that but I have no idea which whois server to use.
Thank you again.
Re: Domain expiration for .gr and .com.gr domains
What do you see in your terminal when you run this?
You may need to run this first:
Code: Select all
whois kritikos-holdings.com.gr
Code: Select all
yum install whois
-
- Posts: 3
- Joined: Wed Feb 07, 2024 4:00 am
Re: Domain expiration for .gr and .com.gr domains
[Querying whois.ripe.net]
[whois.ripe.net]
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See https://apps.db.ripe.net/docs/HTML-Terms-And-Conditions
% Note: this output has been filtered.
% To receive output for a database update, use the "-B" flag.
%ERROR:101: no entries found
%
% No entries found in source RIPE.
% This query was served by the RIPE Database Query Service version 1.111 (SHETLAND)
[whois.ripe.net]
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See https://apps.db.ripe.net/docs/HTML-Terms-And-Conditions
% Note: this output has been filtered.
% To receive output for a database update, use the "-B" flag.
%ERROR:101: no entries found
%
% No entries found in source RIPE.
% This query was served by the RIPE Database Query Service version 1.111 (SHETLAND)