[hobbit] how/where to set/check thresholds for custom test
Jerry Yu
jjj863 at gmail.com
Sat Aug 26 00:49:14 CEST 2006
thx, Henrik. would it be a nice feature [extension working like native
built-in test ] to have? How easy does the current flow lend itself to
such a 'native-look-like' extension?
On 8/25/06, Henrik Stoerner <henrik at hswn.dk> wrote:
>
> On Fri, Aug 25, 2006 at 04:40:27PM -0400, Jerry Yu wrote:
> > I am successful following the 'slab' example to get it show up in RRD
> > graph as well as reported under 'slab' column. However, I am albeit at
> > loss on how to set up thresholds just like those in the built-in
> > tests. I used to write BB extension scripts, which calculate status
> > based on hard-coded thresholds set locally on the client and report
> > status to BBSERVER accordingly using $BB "status" command.
> >
> > In an ideal world, I'd, of course prefer, the extension script working
> > the same way as the built-in tests, in that a custom data section came
> > in from client, while the server sets the threshold centrally to
> > trigger alerts (plus plot them into a RRD graph). Is this possible
> > with Hobbit?
>
> Alas, no. You are welcome to grab a custom configuration file from
> the Hobbit server with the bb "config" command, or by picking lines out
> of the client-local.cfg file (which ends up in the clients'
> ~hobbit/client/tmp/logfetch.HOSTNAME.cfg file). But the
> hobbit-clients.cfg file on the server doesnt support add-on clients
> having their private threshold data stored there.
>
> > Short of which, is there a better Hobbit approach other
> > than the BB extension approach I described above?
>
> No.
>
>
> Regards,
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060825/a38465f0/attachment.html>
More information about the Xymon
mailing list