Below is the service template definition.
define service {
name common-notify-service
use base-service
register 0
notifications_enabled 1
notification_interval 5
notification_period gepc-prod-hours
notification_options c,r
}
define service {
name base-service
register 0
is_volatile 0
max_check_attempts 10
normal_check_interval 5
retry_check_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
}
define timeperiod {
timeperiod_name 24x7
alias 24 Hours A Day, 7 Days A Week
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
define timeperiod {
timeperiod_name gepc-prod-hours
alias 24 Hours A Day, 7 Days A Week
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
Not received problem alert
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Not received problem alert
Is this issue still occurring for this service? If you navigate to Home > Services > (Service Name) and submit a passive check result for a critical state, do you receive the notification? Is this happening on other hosts/services?
Re: Not received problem alert
Below is the comman-notify-service template
define service {
name common-notify-service
use base-service
register 0
notifications_enabled 1
notification_interval 5
notification_period gepc-prod-hours
notification_options c,r
}
define service {
name base-service
register 0
is_volatile 0
max_check_attempts 10
normal_check_interval 5
retry_check_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
}
define service {
name common-notify-service
use base-service
register 0
notifications_enabled 1
notification_interval 5
notification_period gepc-prod-hours
notification_options c,r
}
define service {
name base-service
register 0
is_volatile 0
max_check_attempts 10
normal_check_interval 5
retry_check_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
}
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Not received problem alert
As slansing requested, does submitting a different state passive check cause an alert or recovery?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Not received problem alert
define service {
name common-notify-service
use base-service
register 0
notifications_enabled 1
notification_interval 5
notification_period gepc-prod-hours
notification_options c,r
}
define service {
name base-service
register 0
is_volatile 0
max_check_attempts 10
normal_check_interval 5
retry_check_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
}
name common-notify-service
use base-service
register 0
notifications_enabled 1
notification_interval 5
notification_period gepc-prod-hours
notification_options c,r
}
define service {
name base-service
register 0
is_volatile 0
max_check_attempts 10
normal_check_interval 5
retry_check_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
}
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Not received problem alert
You need to answer the questions we put forth or we cannot help you.