diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-06-18 19:12:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-06-18 19:12:25 +0100 |
commit | 9e434ed8a0f0dd2cdb43f3b64825f17a56ca870e (patch) | |
tree | 4fddcf7f1cd621fdecba694f3a938986d9412aa8 | |
parent | Macro out SSL and SSL redirect config parts (diff) | |
download | config-9e434ed8a0f0dd2cdb43f3b64825f17a56ca870e.tar.bz2 config-9e434ed8a0f0dd2cdb43f3b64825f17a56ca870e.tar.xz config-9e434ed8a0f0dd2cdb43f3b64825f17a56ca870e.zip |
Fix misunderstanding with ntp check
-rw-r--r-- | nagios/nrpe.cfg | 1 | ||||
-rw-r--r-- | nagios/objects/commands.cfg | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/nagios/nrpe.cfg b/nagios/nrpe.cfg index 0abe204..53080b9 100644 --- a/nagios/nrpe.cfg +++ b/nagios/nrpe.cfg @@ -303,6 +303,7 @@ command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 - command[check_drbd]=/usr/lib64/nagios/plugins/check_drbd -d all -r Primary command[check_file_age]=/usr/lib64/nagios/plugins/check_file_age -f $ARG1$ -w 1800 -c 2700 command[check_haproxy]=/usr/lib64/nagios/plugins/check_haproxy_stats -s /run/haproxy.stats +command[check_time]=/usr/lib64/nagios/plugins/check_ntp_time -H uk.pool.ntp.org # The following examples allow user-supplied arguments and can diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg index 94574c9..938b642 100644 --- a/nagios/objects/commands.cfg +++ b/nagios/objects/commands.cfg @@ -116,7 +116,7 @@ define command { define command { command_name check_ntp - command_line $USER1$/check_ntp_time -H $HOSTADDRESS$ + command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_time } define command { |