hi buchan<br>iam new to hobbit can u in following points<br><br>where to put custom script at client side<br>where to put custom script at server side<br>where can i get custom script<br>has any one implemented for hp-ux 11.23<br><br><b><i>Buchan Milne <bgmilne@staff.telkomsa.net></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Thursday 06 September 2007 20:36:52 Stef Coene wrote:<br>> On Thursday 06 September 2007, Jason Chambers wrote:<br>> > Just to clarify, I need to know a way to parse out the # part of blade:#<br>> > from bb-hosts.<br>> ><br>> > I don't know if there is a scripting mailing list for hobbit exclusively,<br>> > and my scripting abilities is very basic, so any help would be awesome!<br>> > :)<br>><br>> There is only one mailing list, this one.<br>><br>> bbhostshow will dump the bb-hosts file.  You can use perl or
 shell to parse<br>> the lines you need.  I prefer perl to parse text.  Somethine like:<br>><br>> ./bbhostshow | perl -e 'while (<STDIN>) { if ( $_ =~ /blade:(.+) / ) {<br>> print "BLADE: $1\n\n" ; } } '<br><br>While I couldn't use devmon, I used something like this:<br><br>I would rather tag the entries with a new tag, and use bbhostgrep<br><br>#!/bin/bash<br><br>if [ -z "$BBHOME" ]<br>then<br>        echo "BBHOME not set" >&2<br>        exit 1<br>fi<br><br>TESTNAME="radperf"<br>SNMPPORT="161"<br>SNMPCOMM="xxx"<br><br>$BBHOME/bin/bbhostgrep $TESTNAME|while read IP NAME JUNK TESTS<br>do<br>        DATA=`snmpget -v1 -c $SNMPCOMM $NAME:$SNMPPORT <br>1.3.6.1.2.1.67.1.1.1.1.5 1.3.6.1.2.1.67.1.1.1.1.6  1.3.6.1.2.1.67.1.1.1.1.7   <br>1.3.6.1.2.1.67.1.1.1.1.8 1.3.6.1.2.1.67.1.1.1.1.9|<br>sed -e 's/SNMPv2-SMI::mib-2.67.1.1.1.1.//g;s/= <br>INTEGER//g;s/^5/requests/;s/^6/invalid/;s/^7/dupes/;s/^8/accepts/;s/^9/rejects/'`<br>        $BBHOME/bin/bb $BBDISP "status
 ${NAME//./,}.${TESTNAME} green `date`<br>$DATA<br>"<br>done<br><br><br>Regards,<br>Buchan<br><br>To unsubscribe from the hobbit list, send an e-mail to<br>hobbit-unsubscribe@hswn.dk<br><br><br></STDIN></blockquote><br><p>
      <hr size=1>Yahoo! oneSearch: Finally, <a href="http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC"> mobile search 
that gives answers</a>, not web links.