1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-25 03:43:46 +01:00

typo fixed

This commit is contained in:
Páll Guðjón Sigurðsson 2010-11-25 23:35:33 +00:00
parent 68e44f853e
commit cedf10c846

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Copyright 2010, Pall Sigurdsson <palli@opensource.is>
#
@ -23,7 +23,7 @@ HOSTN="localhost" # By default check localhost
CHECK_COMMAND="uptime" # Default command to check uptime
# We we are not checking localhost, lets get remote uptime via NRPE
if [ "$HOSTN" -ne "localhost" ]; then
if [ "$HOSTN" != "localhost" ]; then
export PATH=$PATH:/usr/lib/nagios/plugins:/usr/lib64/nagios/plugins
CHECK_COMMAND="check_nrpe -H $HOSTN -c get_uptime"
fi