mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
4b75d8f8c8
commit
ff3de818f6
13
debian/config/kernel.conf
vendored
Normal file
13
debian/config/kernel.conf
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
* 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"
|
||||
}
|
||||
|
1
debian/icinga2-common.install
vendored
1
debian/icinga2-common.install
vendored
@ -1,5 +1,6 @@
|
||||
debian/tmp/etc/icinga2
|
||||
debian/config/apt.conf etc/icinga2/conf.d/hosts/localhost
|
||||
debian/config/kernel.conf etc/icinga2/conf.d/hosts/localhost
|
||||
usr/bin/icinga2-build*
|
||||
usr/bin/icinga2-sign-key
|
||||
usr/sbin/icinga2-*-feature
|
||||
|
@ -31,7 +31,6 @@ install_if_not_exists(icinga2/conf.d/hosts/localhost.conf ${CMAKE_INSTALL_SYSCON
|
||||
install_if_not_exists(icinga2/conf.d/hosts/localhost/disk.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d/hosts/localhost)
|
||||
install_if_not_exists(icinga2/conf.d/hosts/localhost/http.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d/hosts/localhost)
|
||||
install_if_not_exists(icinga2/conf.d/hosts/localhost/icinga.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d/hosts/localhost)
|
||||
install_if_not_exists(icinga2/conf.d/hosts/localhost/kernel.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d/hosts/localhost)
|
||||
install_if_not_exists(icinga2/conf.d/hosts/localhost/load.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d/hosts/localhost)
|
||||
install_if_not_exists(icinga2/conf.d/hosts/localhost/procs.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d/hosts/localhost)
|
||||
install_if_not_exists(icinga2/conf.d/hosts/localhost/ssh.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d/hosts/localhost)
|
||||
|
@ -1,13 +0,0 @@
|
||||
/*
|
||||
* Kernel check requires sudo and binutils properly installed.
|
||||
* Might not work on all systems.
|
||||
*/
|
||||
|
||||
/*
|
||||
object Service "kernel" {
|
||||
import "generic-service"
|
||||
|
||||
host_name = "localhost"
|
||||
check_command = "kernel"
|
||||
}
|
||||
*/
|
Loading…
x
Reference in New Issue
Block a user