doitnumber_problem3.png
I'm unsure of the first question, the server shows green for the service when I did the screen prints. You can see the duration in the attached screen print.
###############################################################################
#
# Hosts configuration file
#
# Created by: Nagios CCM 2.7.2
# Date: 2018-11-02 15:37:37
# Version: Nagios Core 4.x
#
# --- 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 host {
host_name x*****.doit.wisc.edu
use windows-server
address x****.doit.wisc.edu
max_check_attempts 1
check_interval 5
retry_interval 1
active_checks_enabled 1
contact_groups se-windows,sm_alerts_monitoring
notification_period win_wed_0300
register 1
}
###############################################################################
#
# Hosts configuration file
#
# END OF FILE
#
###############################################################################
###############################################################################
#
# Services configuration file
#
# Created by: Nagios CCM 3.0.3
# Date: 2019-10-21 17:05:04
# Version: Nagios Core 4.x
#
# --- 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 x*****.doit.wisc.edu
service_description w_vugen_doitnumber
use generic-vugen-service
servicegroups _vugen_messages
check_command check_nscp_vugen!read_vugen -a s=$_SERVICESCRIPT$!!!!!!!
check_interval 5
notification_interval 5760
notification_period win_wed_0300
notification_options w,c,r,
contact_groups 93fe6121d79bee3ee5e3ee4f55863056d0530bcded,ovo-ss-vugen
_alert_description Check doitnumber web page
_ci (ci:93fe6121d79bee3ee5e3ee4f55863056d0530bcded) (cdwh)
_script doitnumber
_support_info https://a***.fina****.doit.wisc.edu
register 1
}
define host {
name windows-server
hostgroups _windows
check_command check-host-alive!!!!!!!!
use generic-host
max_check_attempts 10
check_interval 5
retry_interval 1
active_checks_enabled 1
check_period 24x7
contact_groups se-windows
notification_period 24x7
notification_options d,r,s,
notifications_enabled 1
register 0
}
define host {
name generic-host
check_command check-host-alive!!!!!!!!
max_check_attempts 3
check_interval 5
retry_interval 1
active_checks_enabled 1
check_period 24x7
event_handler_enabled 1
flap_detection_enabled 0
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 120
notification_period 24x7
notification_options d,u,r,s,
notifications_enabled 1
register 0
}
define service {
name generic-vugen-service
use generic-service
max_check_attempts 3
retry_interval 5
process_perf_data 1
notification_interval 5760
notification_period 24x7
notification_options w,c,r,
notifications_enabled 1
register 0
}
define service {
name generic-service
service_description generic-service
is_volatile 0
max_check_attempts 3
check_interval 5
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
check_period 24x7
parallelize_check 1
obsess_over_service 1
check_freshness 0
event_handler_enabled 1
flap_detection_enabled 0
process_perf_data 0
retain_status_information 1
retain_nonstatus_information 1
notification_interval 60
notification_period 24x7
notification_options w,c,u,r,
notifications_enabled 1
register 0
}
define timeperiod {
timeperiod_name win_wed_0300
alias Automatic Updates - Wednesday - 03:00
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-02:55,03:40-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
define timeperiod {
timeperiod_name 24x7
alias 24 Hours A Day,7 Days A Week
saturday 00:00-24:00
friday 00:00-24:00
thursday 00:00-24:00
wednesday 00:00-24:00
tuesday 00:00-24:00
monday 00:00-24:00
sunday 00:00-24:00
}