Page 1 of 1

Domain expiration for .gr and .com.gr domains

Posted: Wed Feb 07, 2024 5:09 am
by mvoloudakis
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

Re: Domain expiration for .gr and .com.gr domains

Posted: Wed Feb 07, 2024 10:42 am
by jsimon
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.

Re: Domain expiration for .gr and .com.gr domains

Posted: Thu Feb 08, 2024 6:18 am
by mvoloudakis
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.

Re: Domain expiration for .gr and .com.gr domains

Posted: Fri Feb 09, 2024 10:32 am
by jsimon
What do you see in your terminal when you run this?

Code: Select all

whois kritikos-holdings.com.gr
You may need to run this first:

Code: Select all

yum install whois

Re: Domain expiration for .gr and .com.gr domains

Posted: Tue Apr 23, 2024 2:06 am
by mvoloudakis
[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)

Re: Domain expiration for .gr and .com.gr domains

Posted: Tue Jun 25, 2024 9:21 am
by mvoloudakis
Any suggestion please?

Re: Domain expiration for .gr and .com.gr domains

Posted: Tue Jun 25, 2024 12:05 pm
by swolf
Hi @mvoloudakis,

It looks like the .gr top-level domain does not run a WHOIS service. As far as I know, WHOIS is the standard method for checking domain expiration. When I run whois from the terminal, it directs me to manually use the FORTH website:

Code: Select all

[root@localhost nagiosxi]# whois kritikos-holdings.com.gr
This TLD has no whois server, but you can access the whois database at
https://grweb.ics.forth.gr/public/whois
I would recommend reaching out to your domain provider or ISP to determine what solutions are possible for checking domain expiration in an automated manner.

-Sebastian