Email notification alert question
Posted: Thu Aug 11, 2016 9:11 am
Hi Nagios support team,
How are you doing? Hope things are well.
I'm in a middle of setting up an email notification alert for a very specific service from a host, but I have no idea how it's done, most of the alert notification I see is for the alerts triggers from the entire host.
Can you show me step by step on a what configuration I need to set in order to send the following service notification to an email for every hour? Is there anyway I can control the Nagios to change the Warning state to Critical state if the alert doesn't go off after an hour? If not is there a way I can just send the email notification after an hour if the alert doesn't go off? Your response is very appreciated!
define service{
use generic-service
host_name abc
service_description Printer queue - abcprinter
check_command check_nrpe!check_printer_queue -H 10.44.22.14 -c CheckCounter -a 'Counter=\Print Queue(abcprinter)\Jobs' MaxWarn=1 MaxCrit=2 ShowAll
}
# Contact for receiving alerts
define contact{
use generic-contact
contact_name hoffman2503
alias hoffman2503
email [email protected]
}
Thanks!
Tuck
How are you doing? Hope things are well.
I'm in a middle of setting up an email notification alert for a very specific service from a host, but I have no idea how it's done, most of the alert notification I see is for the alerts triggers from the entire host.
Can you show me step by step on a what configuration I need to set in order to send the following service notification to an email for every hour? Is there anyway I can control the Nagios to change the Warning state to Critical state if the alert doesn't go off after an hour? If not is there a way I can just send the email notification after an hour if the alert doesn't go off? Your response is very appreciated!
define service{
use generic-service
host_name abc
service_description Printer queue - abcprinter
check_command check_nrpe!check_printer_queue -H 10.44.22.14 -c CheckCounter -a 'Counter=\Print Queue(abcprinter)\Jobs' MaxWarn=1 MaxCrit=2 ShowAll
}
# Contact for receiving alerts
define contact{
use generic-contact
contact_name hoffman2503
alias hoffman2503
email [email protected]
}
Thanks!
Tuck