summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nagios/nrpe.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/nagios/nrpe.cfg b/nagios/nrpe.cfg
index 964d7a1..38894f1 100644
--- a/nagios/nrpe.cfg
+++ b/nagios/nrpe.cfg
@@ -21,6 +21,6 @@ command[check_file_exists]=/usr/lib64/nagios/plugins/check_file_age -f $ARG1$ -w
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
command[check_swap]=/usr/lib64/nagios/plugins/check_swap $ARG1$
-command[check_sensors]=xargs < /etc/nagios/nrpe.sensors /usr/lib64/nagios/plugins/check_lm_sensors --sanitize
+command[check_sensors]=/usr/lib64/nagios/plugins/check_lm_sensors --sanitize $$(cat /etc/nagios/nrpe.sensors)
command[check_crm]=/usr/lib64/nagios/plugins/check_crm -w -f1
command[check_service]=/usr/lib64/nagios/plugins/check_service -s $ARG1$