Xymon Mailing List Archive search

acknowledging an alert

list Phil Wild
Wed, 18 Jun 2008 22:41:12 +0800
Message-Id: <user-2703bf4230e3@xymon.invalid>

Sorry, ignore this, I found my typo...

Phil

2008/6/18 Phil Wild <user-e365c1418192@xymon.invalid>:
hello hobbit admins,


My c programming skills are poor at best.

Can some one explain what this is doing?

                else p = msg->buf;

                if (sscanf(p, "%d %99s", &cookie, durstr) == 2) {
                        log = find_cookie(abs(cookie));

This is from hobbitd.c

I am trying to track down why I can't acknowledge an alert using the web
interface. Every time I try, I get the following in hobbitd.log. The above
test is failing and dropping me through to the error writing code.

2008-06-18 22:03:42 Bogus ack message from 10.1.50.4: 'hobbitdack 638622
10 test '

enable/disable works fine and the interface I am running from is defined as
--maint-interface (removing this option has no effect).

Cheers

Phil


--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid

-- 
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid