J
jonathan.wilson
Guest
If you're looking for something quick; just add your email code; reverse logic... if only 1 agent available then send out an alert... if [ "$($DLC/bin/wtbman -port 29700 -name wsb_brkliv -query | grep AVAIL | wc -l)" -lt 2 ] then echo oh NO! or send an email whatever... fi While the following (again quick) can be good find issues in code. for x in $($DLC/bin/wtbman -port 29700 -name wsb_brkliv -query | grep BUSY | awk '{print $1}') do $DLC/bin/wtbman -port 29700 -name wsb_brkliv -agentdetail $x | grep -e '--' done None of these are ideal for monitoring or alerting; but can be useful in the short-term
Continue reading...
Continue reading...