[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
acknowledging an alert
- To: hobbit (at) hswn.dk
- Subject: acknowledging an alert
- From: "Phil Wild" <philwild (at) gmail.com>
- Date: Wed, 18 Jun 2008 22:25:25 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=w+lWxvdoP9GMeZgdG3OWUbCKzDj8//He5A2R5Z6jzYk=; b=hZCOVoz7JTcq230UnuRoEuY2br5xK9N9RovUCLxBREyT3o081S4DfMLDksxahAkJx3 Y76e/Rd6n+Sfb3Aq3CMx8G1DcETYVG13eZxE+yDYUw07wniUePIOVRpzXBBfkmhwrf3Y pI5vTEUg3aAOoyyr0HZhQQJd8NYmRMdfKMDio=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=JNGDZW12Il2RchmgD5jVs6MFChiyk4/8g7ShtZJX8bm33RSdcx6tr4naZ9wyPH/Ym1 TRTTwvebAqZwhQwFgXbJzC2+Qi4wF6mXbOpDadaI6XMq8WiBk83zjkx6nlgr/FwqlYmP AdYLkfAY95CJtwcsuIDAxpFVNW4YPDY51sThs=
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: 0400 466 952
Fax: 0433 123 226
email: philwild AT gmail.com