[hobbit] How to display only a section of clientlog ?

Asif Iqbal vadud3 at gmail.com
Wed Feb 21 16:24:26 CET 2007


On 10/19/06, T.J. Yang <tj_yang at hotmail.com> wrote:
>
> as you can see the intent of showing only prtconf has failed in following
> command.
>
> bash-3.00$ bb 127.0.0.1 "clientlog test.test.com  section=prtconf" |egrep



You have one too many space infront of the `section'

try like this (copy n paste)

bb 127.0.0.1 "clientlog test.test.com section=prtconf"



'^\[.*'
> [date]
> [uname]
> [uptime]
> [who]
> [df]
> [mount]
> [prtconf]
> [memory]
> [swap]
> [ifconfig]
> [route]
> [netstat]
> [ports]
> [ifstat]
> [ps]
> [vmstat]
> [iostatcpu]
> [iostatdisk]
> [msgs:/var/adm/messages]
> [logfile:/var/adm/messages]
> [clientversion]
> [clock]
> bash-3.00$ bb -v
> Unknown option -v
> Hobbit version 4.2.0
> Usage: bb [--debug] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT DATA
>   RECIPIENT: IP-address, hostname or URL
>   DATA: Message to send, or "-" to read from stdin
>
> _________________________________________________________________
> Add a Yahoo! contact to Windows Live Messenger for a chance to win a free
> trip!
>
> http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070221/ccf4fc84/attachment.html>


More information about the Xymon mailing list