Add "apt" check command.

Refs #6002
This commit is contained in:
Gunnar Beutner 2014-04-13 18:47:02 +02:00
parent aaf3aacaf2
commit 0ed49d2ddc
2 changed files with 14 additions and 0 deletions

View File

@ -271,6 +271,12 @@ address | **Required.** The host's address.
oid | **Optional.** The SNMP OID. Defaults to "1.3.6.1.2.1.1.3.0".
community | **Optional.** The SNMP community. Defaults to "public".
### <a id="itl-apt"></a> apt
Check command for the `check_apt` plugin.
The `apt` check command does not support any vars.
### <a id="itl-icinga"></a> icinga
Check command for the built-in `icinga` check. This check returns performance

View File

@ -275,6 +275,14 @@ object CheckCommand "snmp-uptime" {
vars.oid = "1.3.6.1.2.1.1.3.0"
}
object CheckCommand "apt" {
import "plugin-check-command"
command = [
PluginDir + "/check_apt"
]
}
object CheckCommand "icinga" {
import "icinga-check-command",