This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PATH=${PATH}:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin | |
TIMEOUT=29 | |
RETVAL= | |
# If called by zabbix, handle some things different | |
if echo "${BASH_SOURCE}" | grep -q "zabbix" ; then | |
# get rid of 1st parameter (on Zabbix 1.8x) | |
# shift 1 |