1 2 3 4 5 6 7 8 9 10 |
{ if $nrpe_mailq_warn {$mailq_warn = $nrpe_mailq_warn } else {$mailq_warn = "5" } if $nrpe_mailq_crit {$mailq_crit = $nrpe_mailq_crit } else {$mailq_crit = "10" } nagios{ "check_mailq": command => "check_mailq", parameters => "-M exim -w ${mailq_warn} -c ${mailq_crit}" } } |

