nagios: add check_postfix_redhat to bastion01
This commit is contained in:
parent
da5599c3a8
commit
e1b6248a4c
3 changed files with 11 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- check_haproxy_conns.py
|
- check_haproxy_conns.py
|
||||||
- check_postfix_queue
|
- check_postfix_queue
|
||||||
|
- check_postfix_queue.py
|
||||||
- check_raid.py
|
- check_raid.py
|
||||||
- check_lock
|
- check_lock
|
||||||
- check_fcomm_queue
|
- check_fcomm_queue
|
||||||
|
@ -125,6 +126,7 @@
|
||||||
- check_disk.cfg
|
- check_disk.cfg
|
||||||
- check_swap.cfg
|
- check_swap.cfg
|
||||||
- check_postfix_queue.cfg
|
- check_postfix_queue.cfg
|
||||||
|
- check_postfix_redhat.cfg
|
||||||
- check_lock.cfg
|
- check_lock.cfg
|
||||||
- check_fedmsg_hub_proc.cfg
|
- check_fedmsg_hub_proc.cfg
|
||||||
- check_fedmsg_irc_proc.cfg
|
- check_fedmsg_irc_proc.cfg
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
command[check_postfix_redhat]={{ libdir }}/nagios/plugins/check_postfix_queue.py redhat.com -w 30 -c 50
|
|
@ -5,3 +5,11 @@ define service {
|
||||||
max_check_attempts 7
|
max_check_attempts 7
|
||||||
use defaulttemplate
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue