2019-09-29 22:32:06 +02:00
|
|
|
################################################################################
|
|
|
|
# BSD 3-Clause License
|
|
|
|
#
|
2021-02-20 17:17:07 +01:00
|
|
|
# Copyright (c) 2019-2021, Alban Vidal <alban.vidal@zordhak.fr>
|
2019-09-29 22:32:06 +02:00
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# Please see license file on root of this directory
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# !! GIT FILE !!
|
|
|
|
# https://framagit.org/zorval/scripts/check-nrpe
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# without sudo
|
|
|
|
|
2021-02-20 17:17:07 +01:00
|
|
|
command[check_available_conntrack] = /usr/local/bin/check_available_conntrack
|
|
|
|
command[check_cpu] = /usr/local/bin/check_cpu
|
|
|
|
command[check_disk] = /usr/local/bin/check_disk
|
|
|
|
command[check_load] = /usr/local/bin/check_load
|
|
|
|
command[check_memory] = /usr/local/bin/check_memory
|
2019-09-30 07:19:30 +02:00
|
|
|
command[check_systemd] = /usr/local/bin/check_systemd
|
2021-02-20 17:15:14 +01:00
|
|
|
command[check_service] = /usr/local/bin/check_service
|
2019-09-29 22:32:06 +02:00
|
|
|
|
|
|
|
# with sudo
|
|
|
|
|
2021-02-20 17:17:07 +01:00
|
|
|
command[check_reboot] = sudo /usr/sbin/needrestart -p -k
|
|
|
|
command[check_restart] = sudo /usr/sbin/needrestart -p -l
|
|
|
|
command[check_git] = sudo /usr/local/sbin/check_git
|