On Wed, Oct 12, 2011 at 12:17 AM, <Thomas.Weber at ses.com> wrote:
Or do msgs work only in the centralized mode ?
By default, msgs only works in centralized mode, and you define the parameters in client-local.cfg on the server (as you have done). For non-centralized mode, you must add "--local" into clientlaunch.cfg after "xymonclient.sh".
Are you unable to use centralized mode for some reason? I can't tell if you're trying non-centralized mode because centralized mode is not working, or because of some other reason.
Assuming you'd want to get centralized mode to work, have a look for the logfetch tempfile in $XYMONTMP (which is /tmp for me). The file will be called "logfetch.name-of-server.cfg". Check that the content looks OK (same as the matching [servername] stanza from client-local.cfg), and check that the timestamp is within 10 minutes. [There's also a logfetch.name-of-server.status file that might contain clues. Not sure of the format, so dunno how useful.]
If the logfetch tempfile is OK, try running logfetch against it and see what it shows. Something like this:
sudo -u xymon /usr/lib/xymon/client/bin/logfetch
/tmp/logfetch.uname -n.cfg /tmp/test.status
It should show output for each entry in the .cfg file.
Cheers Jeremy