Domain expiration for .gr and .com.gr domains

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
mvoloudakis
Posts: 3
Joined: Wed Feb 07, 2024 4:00 am

Domain expiration for .gr and .com.gr domains

Post 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
jsimon
Posts: 104
Joined: Wed Aug 23, 2023 11:27 am

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

Post 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.
mvoloudakis
Posts: 3
Joined: Wed Feb 07, 2024 4:00 am

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

Post 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.
jsimon
Posts: 104
Joined: Wed Aug 23, 2023 11:27 am

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

Post 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
mvoloudakis
Posts: 3
Joined: Wed Feb 07, 2024 4:00 am

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

Post 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)
Post Reply