check_index
Returns a list of all known checks.
Implementation
| Windows | Linux | FreeBSD | macOS |
|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ |
Argument Defaults
| Argument | Default Value |
|---|---|
| filter | implemented = 1 |
| empty-state | 3 (UNKNOWN) |
| empty-syntax | no checks found |
| top-syntax | %(list) |
| ok-syntax | |
| detail-syntax | %(name) |
Check Specific Arguments
None
Attributes
Filter Keywords
Use these attributes in filters and thresholds, along with the default attributes:
| Attribute | Description |
|---|---|
| name | Name of the check |
| description | Description of the check |
| implemented | Check is available on current platform: 0 / 1 |
| windows | Check is available on Windows: 0 / 1 |
| linux | Check is available on Linux: 0 / 1 |
| macos | Check is available on macOS: 0 / 1 |
| osx | Alias for macos: 0 / 1 |
| freebsd | Check is available on FreeBSD: 0 / 1 |
| alias | Check is an alias: 0 / 1 |
| script | Check 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!
}