Add check_lock for monitoring
authorAndy Witter <awitter@georgialibraries.org>
Tue, 14 May 2013 16:09:20 +0000 (12:09 -0400)
committerAndy Witter <awitter@georgialibraries.org>
Tue, 14 May 2013 16:09:20 +0000 (12:09 -0400)
GenaSYS.sh

index 832a229..3aa2481 100755 (executable)
@@ -2232,6 +2232,7 @@ printf "echo \"allowed_hosts=${MONITOR_SERVER_IP_LIST// /,}\" >> /etc/nagios/nrp
 echo sed -i \'s^dont_blame_nrpe=0^dont_blame_nrpe=1^g\' "/etc/nagios/nrpe.cfg" >>$TMPSETUPMONITOR
 echo 'cp "${WD}/monitoring/check_cpu.sh" "/usr/lib/nagios/plugins"' >>$TMPSETUPMONITOR
 echo 'cp "${WD}/monitoring/reporter_status.sh" "/usr/lib/nagios/plugins"' >>$TMPSETUPMONITOR
+echo 'cp "${WD}/monitoring/check_lock" "/usr/lib/nagios/plugins"' >>$TMPSETUPMONITOR
 echo 'cp "${WD}/monitoring/nrpe_local.cfg" "/etc/nagios"' >>$TMPSETUPMONITOR
 chmod 755 $TMPSETUPMONITOR