Xymon Mailing List Archive search

how to implement custom tests

list Michael Lowery
Thu, 7 Jul 2005 15:31:34 -0500
Message-Id: <user-2e1c40efa844@xymon.invalid>

I'm assuming you'd still want a BB client on your Hobbit server, if not,
ignore... but you can still do those things in the ext folder on the BB
client piece and it should still report them to Hobbit as usual.  I have
a few scripts from BB server now running in my BB client in the same
manner.

Michael

-----Original Message-----
From: Reif Jeffery M [mailto:user-e9cc5d6c2490@xymon.invalid] 
Sent: Thursday, July 07, 2005 3:28 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] how to implement custom tests

I installed Hobbit on my (former) BB server.  The clients are reporting
in normally.  However, I have some tests for hosts (NetApp, Tandem -
that have no BB client) that run on the BB server and use the bb
executable to "trick" the server into thinking it received it from an
external client.  For example:

exec("/opt/bb/bin/bb", $IP, "status $machine.$test $color $now\n 
$status\n 
@array\n 
")
  or die( "$1: Couldn't execute BB");


Is there an equivalent function on the Hobbit server that can accomplish
this without having both BB and Hobbit installed?