summaryrefslogtreecommitdiffstats
path: root/files/monitoring/icinga2/checkcommands/check_postfix_mailqueue.conf
blob: dbcee3b6cf149dcfb32fe98b8a5adc6db5e108ee (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
object CheckCommand "postfix-mailqueue" {
  import "plugin-check-command"

  command = [ "sudo", "-n", "-u", "postfix", PluginDir + "/check_postfix_mailqueue" ]

  arguments = {
    "--config_dir" = {
            value =  "$config_dir$"
            description = "Postfix config directory."
    }
    "--deferred_warn" = {
            value =  "$deferred_warn$"
            description = "Warning level for deferred queue."
    }
    "--deferred_crit" = {
            value =  "$deferred_crit$"
            description = "Critical level for deferred queue."
    }
    "--active_warn" = {
            value =  "$active_warn$"
            description = "Warning level for active queue."
    }
    "--active_crit" = {
            value =  "$active_crit$"
            description = "Critical level for active queue."
    }
    "--maildrop_warn" = {
            value =  "$maildrop_warn$"
            description = "Warning level for maildrop queue."
    }
    "--maildrop_crit" = {
            value =  "$maildrop_crit$"
            description = "Critical level for maildrop queue."
    }
    "--incoming_warn" = {
            value =  "$incoming_warn$"
            description = "Warning level for incoming queue."
    }
    "--incoming_crit" = {
            value =  "$incoming_crit$"
            description = "Critical level for incoming queue."
    }
    "--hold_warn" = {
            value =  "$hold_warn$"
            description = "Warning level for hold queue."
    }
    "--hold_crit" = {
            value =  "$hold_crit$"
            description = "Critical level for hold queue."
    }
  }

}