#!/bin/bash COLUMN='rblcheck' COLOR='green' VERSION='1.4' DATE=$(date) rm -f /tmp/rblcheckfound.lst 2>/dev/null DNSBLlist=`grep -v ^# <> /tmp/rblcheckfound.lst LIST=$(cat /tmp/rblcheckfound.lst) COLOR=red fi done done if [[ 'green' == "${COLOR}" ]] then EXTRA='status OK' fi #send the results to hobbit so it can be graphed $BB $BBDISP "status $MACHINE.$COLUMN $COLOR ${DATE}     ${COLUMN} ${EXTRA}
${LIST}

Version: ${VERSION}" exit 0