[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't get msgs test to work with client in local mode
- To: hobbit (at) hswn.dk
- Subject: Can't get msgs test to work with client in local mode
- From: Mark Robson <markxr (at) gmail.com>
- Date: Wed, 3 Jun 2009 09:27:22 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=fvYvJjobgBEYI7HuAmTnTBKdf19j1WfqHtNYnq9IxNY=; b=tE4Nrucy9Kk8tGZTENOKskarQB6ko+/WR2hl7+lqaUwwK0PFMSzNC0Dup+7zpT1G6y WjUJ0cG0pRSW4l4L+wOpb7eEaN5HRuoaMunuQntIbmsFenbTGV9KGhgnByMv1dbrtW3b vyn0bvWS6+5bqPQ6IgQlOW9xTY8SfUVu4gF94=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=D0uoGiwmtMSq5sR2sMWKveEcNaVUTlyNmim/arMLt0IT7cJgrlx8T94X0mpPJ+2VxW 0xnogtbRehfRVDJwXCP5XfE4/UlCvC5oxCKUhuwRvfiNJI6rZuKS5jzdsu1SwuY2cupd /kN2cK2x8z+k0cnpeFXFzvwLTuu3jL7xBjtPI=
Hiya,
I'm trying to get the msgs test to work with Hobbit (xymon 4.2.3) in local
mode.
I've got the following in my clientlaunch.cfg
# The main client task
[client]
ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
CMD $HOBBITCLIENTHOME/bin/hobbitclient.sh --local
LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
INTERVAL 5m
Which is supposed to run the client with --local mode.
Other tests work.
Hobbit reports the status as "clear" with the message "The client did not
report any logfile data" no matter what is in /var/log/messages.
I've got
LOG /var/log/messages %error|ERROR
In etc/localclient.cfg
Other directives in localclient.cfg (for example PROC, or PORT) are
respected and appear to work as documented.
I think I've tracked down the problem to the $LOGFETCHCFG file never getting
created. I don't quite understand the code, but I think it's supposed to
fetch some config from the server into a file in
=$BBTMP/logfetch.$MACHINEDOTS.cfg, which never gets created.
This file is never created despite the server having the following in
client-local.cfg:
[linux]
log:/var/log/messages:10240
ignore MARK
The system is identifying itself as "linux".
Any ideas?
Regards
Mark