Adding local module to monitoring server
list Matthew Davis
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
▸
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
▸
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/