[Xymon] log monitoring hostname matching trouble

EDSchminke at Hormel.com EDSchminke at Hormel.com
Fri Jan 8 16:54:52 CET 2016


Hello,

I'm trying to get log monitoring to work on a new implementation of Xymon
(v4.3.24)

For whatever reason, my client doesn't seem to be receiving a logfetch.cfg
file from the server after it checks in.  I've tried a number of
combinations of hostname and none of them seem to work:

[lpcobwas2p] (hostname only)
[lpcobwas2p.hfc.ad] (FQDN, periods)
[lpcobwas2p,hfc,ad] (FQDN, commas)

None of them seem to work.

Any ideas?

Server side:

[root at lxcobxymonp server]# pwd
/home/xymon/server
[root at lxcobxymonp server]# hostname
lxcobxymonp.hfc.ad
[root at lxcobxymonp server]#

[root at lxcobxymonp server]# tail -2 etc/client-local.cfg
[lpcobwas2p]
log:/var/log/messages:20480
[root at lxcobxymonp server]#

[root at lxcobxymonp server]# grep lpcobwas2p etc/hosts.cfg
0.0.0.0         lpcobwas2p # CLIENT:lpcobwas2p.hfc.ad
[root at lxcobxymonp server]#

Client side:

[root at lpcobwas2p client]# pwd
/home/xymon/client
[root at lpcobwas2p client]# hostname
lpcobwas2p.hfc.ad
[root at lpcobwas2p client]#

[root at lpcobwas2p client]# head -2 tmp/msg.lpcobwas2p.hfc.ad.txt
@@client#1|1|127.0.0.1|lpcobwas2p.hfc.ad|linux
client lpcobwas2p,hfc,ad.linux linux
[root at lpcobwas2p client]#


Erik D. Schminke | Associate Systems Programmer
Hormel Foods Corporation | One Hormel Way | Austin, MN 55912
Phone: (507) 434-6817
edschminke at hormel.com | www.hormelfoods.com





More information about the Xymon mailing list