[hobbit] test server-side script from hobbit server

Joshua Krause forums at triadbiz.rr.com
Fri Feb 8 20:57:45 CET 2008


That worked.  I was able to verify the script is running.  Have another question??  I have come up with a script that parses a bootpd.log, greps for certain requests and then pipes them to a file.  I then take that file and parse it out and put it back together in the form that I need it in.  The dilemma that I am at is that if the script finds a couple of instances at one time I am trying to get it to page out each on separate pages instead of sending them all in one page.  Is there a way to do this?

Thanks,

Josh

-----Original Message-----
From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] 
Sent: Friday, February 08, 2008 11:18 AM
To: hobbit at hswn.dk
Cc: Joshua Krause
Subject: Re: [hobbit] test server-side script from hobbit server

On Friday 08 February 2008 17:31:37 Joshua Krause wrote:
> I am trying to test a server side script from the hobbit server and want it
> to use the Hobbit Environment variables.  I know how to do it on the
> clientside just not on the serverside.

Same method should work, I usually do:

# su - hobbit -s /bin/bash
$ ./client/bin/bbcmd bash

Now run your script.

(maybe change client to server, but I don't think the environment is any 
different)

Regards,
Buchan

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



More information about the Xymon mailing list