mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
13 lines
336 B
Text
13 lines
336 B
Text
/*
|
|
* This check requires the "sudo" and "binutils" packages to be installed.
|
|
* You will also need to add the following line to your /etc/sudoers file:
|
|
* nagios ALL=(ALL:ALL) NOPASSWD: /etc/icinga2/scripts/check_kernel
|
|
*/
|
|
|
|
object Service "kernel" {
|
|
import "generic-service"
|
|
|
|
host_name = "localhost"
|
|
check_command = "kernel"
|
|
}
|
|
|