summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nagios/objects/commands.cfg9
1 files changed, 7 insertions, 2 deletions
diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg
index 772e7a3..c680637 100644
--- a/nagios/objects/commands.cfg
+++ b/nagios/objects/commands.cfg
@@ -40,12 +40,12 @@ define command {
define command {
command_name check_drbd
- command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_drbd
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_drbd -t 30:UNKNOWN
}
define command {
command_name check_raid
- command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_raid
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_raid -t 30:UNKNOWN
}
define command {
@@ -88,6 +88,11 @@ define command {
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_service -a $ARG1$
}
+define command {
+ command_name check_needrestart
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_needrestart -t 30:UNKNOWN
+}
+
################################################################################
# NOTE: The following 'check_...' commands are used to monitor services on