Domain Error!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gdolidze
Posts: 154
Joined: Tue Apr 07, 2015 10:07 am

Domain Error!

Post by gdolidze »

I used the domain wizard and it gives me this error
CRITICAL - Socket timeout after 10 seconds

while it does give me the status it remains red.

How do I make it green.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Domain Error!

Post by abrist »

What is the full command the check is running? (go to the CCM --> services --> click the "disk" icon for the service the question and post the relevant directive of the text file)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
gdolidze
Posts: 154
Joined: Tue Apr 07, 2015 10:07 am

Re: Domain Error!

Post by gdolidze »

###############################################################################
#
# Service configuration file
#
# Created by: Nagios Core Config Manager 2.3.2
# Date: 2015-04-27 15:38:27
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################

define service {
host_name cfjh.net
service_description Domain Expiration
use xiwizard_domain_expiration_service_v2
check_command check_xi_domain_v2!cfjh.net!-w 30!-c 15
max_check_attempts 5
check_interval 1440
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard domain_expiration
register 1
}

###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
gdolidze
Posts: 154
Joined: Tue Apr 07, 2015 10:07 am

Re: Domain Error!

Post by gdolidze »

Gives me this OK - Domain cfjh.net will expire in 33 days (2015-05-30T13:22:45Z).

but its red and CRITICAL - Socket timeout after 10 seconds
Last edited by gdolidze on Tue Apr 28, 2015 9:32 am, edited 1 time in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Domain Error!

Post by abrist »

How long does it take to check?

Code: Select all

time /usr/local/nagios/libexec/check_domain.php -d cfjh.net -w 30 -c 15
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked