[Xymon] problem with xymond_client test
Glenn Attwood
attwood at utsc.utoronto.ca
Thu Mar 17 14:39:32 CET 2011
On 03/16/2011 05:18 PM, Henrik Størner wrote:
> It would be nice to know what kind of client is triggering this. If you
> go back into "gdb", then run these three commands:
>
> fr 6
> p hostname
> p sender
>
#0 0x00d21422 in __kernel_vsyscall ()
(gdb) fr 6
#6 0x0805d82c in main (argc=1, argv=0xbfc5e484) at xymond_client.c:2166
2166 os = get_ostype(clientos);
(gdb) p hostname
$1 = <value optimized out>
(gdb) p sender
$2 = 0xb76f8817 "142.150.160.218"
Should I rebuild with -O0 as opposed to -O2?
> Ok, the problem here is a host sending some "client" data without a
> valid hostname or operating-system identifier. A client message should
> begin like
>
> client jorn,hswn,dk.linux linux
Well, the entry in /var/lib/xymon/hostdata looks ok from that POV (here
are the first few lines):
[collector:]
client devonian,utsc,utoronto,ca.sunos sunos
[date]
Wed Mar 16 21:25:43 EDT 2011
[uname]
SunOS devonian 5.10 Generic_138889-02 i86pc i386 i86pc
Thanks,
--
Glenn Attwood
Senior Network Administrator, IITS
University of Toronto Scarborough
416-287-7364
More information about the Xymon
mailing list