Xymon Mailing List Archive search

Implement bb in perl

list Ralph Mitchell
Fri, 1 Aug 2008 09:35:46 -0500
Message-Id: <user-1c40980114a4@xymon.invalid>

On Fri, Aug 1, 2008 at 9:09 AM, Joshua Gatcomb <user-05d89a971c2a@xymon.invalid>wrote:
Salutations,
For an insane reason beyond my control, it would be advantageous to me to
re-implement the bb client executable (send single message to Hobbit) in
perl.

I have looked at bb.c which includes libbbgen.h which includes sendmsg.h
etc etc

While I know I could eventually get through all the C, it would be easier
for me if there was a design document explaining the client message format.
Then using the man page on bb, I could just implement it from scratch.

Does anyone know if alternatives to the compiled bb executable exist
(preferrably one in perl)?

Does anyone know if a design document that explains the message format or
is the source the reference?

Does anyone have any pointers for the best way to go through this exercise
of insanity?

Cheers,
Joshua Gatcomb
You could start with this:

   http://www.deadcat.net/download.php?fileid=155&filename=bb.pl&location=3

Ralph Mitchell