Service Check interval
Posted: Tue Jul 25, 2017 7:18 am
Hi Team,
We have to setup one DB tablespace monitoring where interval check should be 55 Mins for specific service (Nagios will send next check to server after 55 Mins) Purpose for this delay is when we trying to fetch the data from Nagios server ( Using Command ) it is taking more than 45 Mins to show DB tablespace data.
We have make changes on check interval 55 Mins but still in GUI it’s not giving an output and from command its working fine.
Command we use to fetch the data.
$USER1$/check_oracle_health -t 15 --connect $HOSTADDRESS$:$_HOSTDBPORT$/$_HOSTDBNAME$ --username $_HOSTDBUSER$ --password '$_HOSTDBPASS$' --warning $_HOSTTSWARN$ --critical $_HOSTTSCRIT$ --mode tablespace-usage
Error :
(Service Check Timed Out On Worker: usa*********)
Status Details
Service State: Critical
Duration: 21h 54m 4s
Service Stability: Unchanging (stable)
Last Check: 2017-07-25 08:05:16
Next Check: 2017-07-25 09:00:16
Config. File
###############################################################################
# Service configuration file
#
# Created by: Nagios Core Config Manager 2.3.3
# Date: 2017-07-25 07:50:17
# 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 mc0300*****_testing
service_description Oracle DB tablespace usage
use xerox_service_prod
check_command xerox_common_db_oracle_tblspc_60_min!!!!!!!!
check_interval 55
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
Please advise
We have to setup one DB tablespace monitoring where interval check should be 55 Mins for specific service (Nagios will send next check to server after 55 Mins) Purpose for this delay is when we trying to fetch the data from Nagios server ( Using Command ) it is taking more than 45 Mins to show DB tablespace data.
We have make changes on check interval 55 Mins but still in GUI it’s not giving an output and from command its working fine.
Command we use to fetch the data.
$USER1$/check_oracle_health -t 15 --connect $HOSTADDRESS$:$_HOSTDBPORT$/$_HOSTDBNAME$ --username $_HOSTDBUSER$ --password '$_HOSTDBPASS$' --warning $_HOSTTSWARN$ --critical $_HOSTTSCRIT$ --mode tablespace-usage
Error :
(Service Check Timed Out On Worker: usa*********)
Status Details
Service State: Critical
Duration: 21h 54m 4s
Service Stability: Unchanging (stable)
Last Check: 2017-07-25 08:05:16
Next Check: 2017-07-25 09:00:16
Config. File
###############################################################################
# Service configuration file
#
# Created by: Nagios Core Config Manager 2.3.3
# Date: 2017-07-25 07:50:17
# 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 mc0300*****_testing
service_description Oracle DB tablespace usage
use xerox_service_prod
check_command xerox_common_db_oracle_tblspc_60_min!!!!!!!!
check_interval 55
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
Please advise