summaryrefslogtreecommitdiff
path: root/nagios/objects/commands.cfg
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-10-31 18:41:51 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-10-31 19:05:42 +0000
commitcf2caef79e2895b097109c97295a5013151a9fa7 (patch)
treeb3099054d13aa0f8c4bfee8dd36f2f318f48cd7c /nagios/objects/commands.cfg
parentAdd lm sensors checks (diff)
downloadconfig-cf2caef79e2895b097109c97295a5013151a9fa7.tar.bz2
config-cf2caef79e2895b097109c97295a5013151a9fa7.tar.xz
config-cf2caef79e2895b097109c97295a5013151a9fa7.zip
Add kernel config checks
Diffstat (limited to 'nagios/objects/commands.cfg')
-rw-r--r--nagios/objects/commands.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg
index 4bf4f67..5e13407 100644
--- a/nagios/objects/commands.cfg
+++ b/nagios/objects/commands.cfg
@@ -19,6 +19,16 @@ define command {
}
define command {
+ command_name check_file_exists
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_file_exists -a $ARG1$
+}
+
+define command {
+ command_name check_file_no_linger
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_file_no_linger -a $ARG1$
+}
+
+define command {
command_name check_disk
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk -a $ARG1$ $ARG2$ $ARG3$
}