Example:
check_prog hostname.com /bin/check_awesome -c 10 -w 13
check_remote -H $HOSTNAME -C "$ARGS"
I hope this makes sense. The arguments are changing as I will use this for about 20+ teams. This is an odd way to wrap a program, but it needs to work. Several problems with several systems that we use here (Gotta love code from the 70s)
The above could be written in perl or python, but Bash would be the preferred method
bash
user554005 May 13 '12 at 3:49 am 2012-05-13 03:49
source share