Xymon Mailing List Archive search

Adding local module to monitoring server

3 messages in this thread

list Matthew Davis · Sun, 23 Apr 2006 11:52:22 -0400 ·
Maybe I'm missing something here, but I can add additional modules
until I turn blue in the face to my clients.  But for some reason I
can't add local modules to the hobbitd server.  Is the process
different?

I did the following:

1 - Add the script to /usr/lib/hobbit/client/ext
2 - Add the module defination to
/usr/lib/hobbit/client/etc/clientlaunch.cfg  For example this is what
I have for one:

[exim]
        ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
        CMD $HOBBITCLIENTHOME/ext/exim.sh
        LOGFILE $HOBBITCLIENTHOME/logs/exim.log
        INTERVAL 5m

The log file gets created, but thats as far as it goes.  There's an
echo statement in that script that should show up in the log file, but
it never makes it.  None of the other modules defined in
clientlaunch.cfg get created.

Then do a reload just to make sure it took.  Well, its not taking.  No
errors are being thrown as far as I can see.

What'd I miss?


--
Matthew Davis
http://familycampground.org/matthew/
list Rob MacGregor · Sun, 23 Apr 2006 20:40:11 +0100 ·
quoted from Matthew Davis
On 4/23/06, Matthew Davis <user-b01c5fac37a6@xymon.invalid> wrote:
Maybe I'm missing something here, but I can add additional modules
until I turn blue in the face to my clients.  But for some reason I
can't add local modules to the hobbitd server.  Is the process
different?
AFAIK you add it to <server>/etc/hobbitlaunch.cfg (at least that works for me).

--
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Matthew Davis · Mon, 24 Apr 2006 01:00:04 -0400 ·
quoted from Rob MacGregor
On 4/23/06, Rob MacGregor <user-07c9d92ae079@xymon.invalid> wrote:
On 4/23/06, Matthew Davis <user-b01c5fac37a6@xymon.invalid> wrote:
Maybe I'm missing something here, but I can add additional modules
until I turn blue in the face to my clients.  But for some reason I
can't add local modules to the hobbitd server.  Is the process
different?
AFAIK you add it to <server>/etc/hobbitlaunch.cfg (at least that works for me).
Ah, thats it, thanks!

--
Matthew Davis
http://familycampground.org/matthew/