Name | Description
---------------------|--------------
smtp_address | **Optional.** The host's address. Defaults to "$address$".
+smtp_port | **Optional.** The port that should be checked. Defaults to 25.
smtp_mail_from | **Optional.** Test a MAIL FROM command with the given email address.
#### <a id="plugin-check-command-ssmtp"></a> ssmtp
Name | Description
----------------|--------------
imap_address | **Optional.** The host's address. Defaults to "$address$".
+imap_port | **Optional.** The port that should be checked. Defaults to 143.
#### <a id="plugin-check-command-simap"></a> simap
Name | Description
----------------|--------------
pop_address | **Optional.** The host's address. Defaults to "$address$".
+pop_port | **Optional.** The port that should be checked. Defaults to 110.
#### <a id="plugin-check-command-spop"></a> spop
dns_expected_answer | **Optional.** The answer to look for. A hostname must end with a dot.
dns_authoritative | **Optional.** Expect the server to send an authoritative answer.
+#### <a id="plugin-check-command-dig"></a> dig
+
+Check command object for the `check_dig` plugin.
+
+Custom Attributes:
+
+Name | Description
+---------------------|--------------
+dig_server | **Optional.** The DNS server to query. Defaults to "127.0.0.1".
+dig_lookup | **Optional.** The address that should be looked up.
+
#### <a id="plugin-check-command-dhcp"></a> dhcp
Check command object for the `check_dhcp` plugin.
arguments = {
"-H" = "$smtp_address$"
+ "-p" = "$smtp_port$"
"-f" = "$smtp_mail_from$"
}
arguments = {
"-H" = "$imap_address$"
+ "-p" = "$imap_port$"
}
vars.imap_address = "$address$"
arguments = {
"-H" = "$pop_address$"
+ "-p" = "$pop_port$"
}
vars.pop_address = "$address$"
vars.dns_expected_answer = "$address$"
}
+object CheckCommand "dig" {
+ import "plugin-check-command"
+
+ command = PluginDir + "/check_dig"
+
+ arguments = {
+ "-H" = "$dig_server$",
+ "-l" = "$dig_lookup$",
+ }
+
+ vars.dig_server = "$address$"
+}
+
object CheckCommand "nscp" {
import "plugin-check-command"