nagios: add check_postfix_redhat to bastion01

This commit is contained in:
Francois Andrieu 2020-07-19 20:35:37 +02:00 committed by kevin
parent da5599c3a8
commit e1b6248a4c
3 changed files with 11 additions and 0 deletions

View file

@ -30,6 +30,7 @@
with_items:
- check_haproxy_conns.py
- check_postfix_queue
- check_postfix_queue.py
- check_raid.py
- check_lock
- check_fcomm_queue
@ -125,6 +126,7 @@
- check_disk.cfg
- check_swap.cfg
- check_postfix_queue.cfg
- check_postfix_redhat.cfg
- check_lock.cfg
- check_fedmsg_hub_proc.cfg
- check_fedmsg_irc_proc.cfg

View file

@ -0,0 +1 @@
command[check_postfix_redhat]={{ libdir }}/nagios/plugins/check_postfix_queue.py redhat.com -w 30 -c 50

View file

@ -5,3 +5,11 @@ define service {
max_check_attempts 7
use defaulttemplate
}
define service {
host_name bastion01.iad2.fedoraproject.org
service_description mail_queue_redhat
check_command check_by_nrpe!check_postfix_redhat
max_check_attempts 7
use defaulttemplate
}