how to setup warning and critical notification intervals separately
Posted: Tue Jan 02, 2024 7:03 pm
Hello everyone,
My very first post here. I consider myself still new to NagiosXI.
I appreciate a lot for any information or suggestions.
right now, my services are configured to send out notification emails every hour ( when the status is in one of w,c,r,u,r,f, if notification_options is not defined manually, right? ). for example, this is one of my "service" config. 2 contact emails,operations,windows-support, gets emails every hour.
define service {
host_name MyHost
service_description Virtual Memory Usage
use xiwizard_windowssnmp_storage
check_command check_xi_service_snmp_win_storage! -C Community --v2c -m 'Virtual Memory' -w 75 -c 85 -f!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts operations,windows-support
_xiwizard windowssnmp
register 1
}
what i want to have is, if the service is in "warning" status, send email to one contact once a day. if the service turns into "critical", an email is sent immediately and resent every hour to a different group and trigger escalation if the critical occurs more than 3 notifications.
is there a way to achieve this ?
thanks a lot in advance for any suggestions.
My very first post here. I consider myself still new to NagiosXI.
I appreciate a lot for any information or suggestions.
right now, my services are configured to send out notification emails every hour ( when the status is in one of w,c,r,u,r,f, if notification_options is not defined manually, right? ). for example, this is one of my "service" config. 2 contact emails,operations,windows-support, gets emails every hour.
define service {
host_name MyHost
service_description Virtual Memory Usage
use xiwizard_windowssnmp_storage
check_command check_xi_service_snmp_win_storage! -C Community --v2c -m 'Virtual Memory' -w 75 -c 85 -f!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts operations,windows-support
_xiwizard windowssnmp
register 1
}
what i want to have is, if the service is in "warning" status, send email to one contact once a day. if the service turns into "critical", an email is sent immediately and resent every hour to a different group and trigger escalation if the critical occurs more than 3 notifications.
is there a way to achieve this ?
thanks a lot in advance for any suggestions.