summaryrefslogtreecommitdiffstats
path: root/templates/monitoring/service/postfix_mailqueue.erb
blob: f643bb21b0d08f61db92c0b73def440df2f24cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

object Service "<%= @displayed_name %>" {

  import "generic-service"

  check_command = "postfix-mailqueue"

  display_name = "<%= @displayed_name %>"
  host_name = "<%= @nodename %>"
  enable_notifications = <%= @enable_notifications %>

  check_interval = <%= @check_interval %>
  retry_interval = <%= @retry_interval %>

  vars.config_dir = "<%= @config_dir %>"

  vars.deferred_warn = "<%= @warning_threshold %>"
  vars.deferred_crit = "<%= @critical_threshold %>"
  vars.active_warn = "<%= @warning_threshold %>"
  vars.active_crit = "<%= @critical_threshold %>"
  vars.maildrop_warn = "<%= @warning_threshold %>"
  vars.maildrop_crit = "<%= @critical_threshold %>"
  vars.incoming_warn = "<%= @warning_threshold %>"
  vars.incoming_crit = "<%= @critical_threshold %>"
  vars.hold_warn = "<%= @warning_threshold %>"
  vars.hold_crit = "<%= @critical_threshold %>"

}