//Django : 2015-04-15 object CheckCommand "sendmail" { import "plugin-check-command" command = [ PluginDir + "/check_smtp" ] arguments = { "-H" = "$sendmail_host$" "-p" = "$sendmail_port$" "-4" = { set_if = "$sendmail_ipv4$" } "-6" = { set_if = "$sendmail_ipv6$" } "-F" = "$sendmail_fqdn$" "-C" = { value = "$sendmail_command$" repeat_key = false } "-R" = { value = "$sendmail_response$" repeat_key = false } } vars.sendmail_host = "127.0.0.1" vars.sendmail_port = "25" vars.sendmail_ipv4 = "" vars.sendmail_ipv6 = "" vars.sendmail_fqdn = "" vars.sendmail_command = [ "", "", "" ] vars.sendmail_response = [ "", "", "" ] }