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.
Domain Error!
Re: Domain Error!
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.
"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.
Re: Domain Error!
###############################################################################
#
# 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
#
###############################################################################
#
# 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
#
###############################################################################
Re: Domain Error!
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
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.
Re: Domain Error!
How long does it take to check?
Code: Select all
time /usr/local/nagios/libexec/check_domain.php -d cfjh.net -w 30 -c 15Former 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.
"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.