check_index

Returns list of all known checks.

Implementation

WindowsLinuxFreeBSDMacOSX
✅✅✅✅

Argument Defaults

ArgumentDefault Value
filterimplemented = 1
empty-state3 (UNKNOWN)
empty-syntaxno checks found
top-syntax%(list)
ok-syntax
detail-syntax%(name)

Check Specific Arguments

None

Attributes

Filter Keywords

these can be used in filters and thresholds (along with the default attributes):

AttributeDescription
namename of the check
descriptiondescription of the check
implementedcheck is available on current platform: 0 / 1
windowscheck is available on Windows: 0 / 1
linuxcheck is available on Linux: 0 / 1
osxcheck is available on macOS: 0 / 1
freebsdcheck is available on FreeBSD: 0 / 1
aliascheck is an alias: 0 / 1
scriptcheck is a (wrapped) script: 0 / 1

Examples

Default Check

check_index filter="implemented = 1"
check_cpu...

Example using check_snclient and Naemon

Naemon Config

define command{
    command_name         check_snclient
    command_line         $USER1$/check_snclient -k -p 'your-password' -u 'https://$HOSTADDRESS$:8443' $ARG1$ $ARG2$
}

define service {
    host_name            testhost
    service_description  check_index
    use                  generic-service
    check_command        check_snclient!check_index!
}