Xymon Mailing List Archive search

Still no ghostlist

list Kent Brodie
Fri, 11 Aug 2006 22:24:01 -0500
Message-Id: <user-83723674ac2d@xymon.invalid>

Web page still shows:  "failed to retrieve ghostlist from server".

Bb commands show (I renamed a host to force a ghost entry to appear):

-bash-3.00$ bb 127.0.0.1 ghostlist
carrxxx.hmgc.mcw.edu|141.106.224.202|1155352870

-bash-3.00$ bb 127.0.0.1 ping
hobbitd 4.2.0


Ideas?     


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, August 10, 2006 4:40 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] acknowledge with 4.2.0

On Thu, Aug 10, 2006 at 04:28:22PM -0500, Larry Barber wrote:
I just installed the new 4.2.0 release and I have discoved that when
trying
to acknowledge alerts, that the ack-alerts page does not seem to be
working
for the intermediate pages. When called from the top page you get a
list of
all the active alerts, and when called from the lowest level pages you
get a
list of alerts on that page (plus one more for some reason), on
intermediate
pages though, you just get a "No Active Alerts" message. Is this the
way it
is supposed to work.
Hmm, no - that doesn't seem right. The culprit is the web/bb-ack.c line
257:
   sprintf(cmd + strlen(cmd), " page=^%s$", pagename);
That's a regular expression for matching the pagename. It should
probably just have the '$' at the end removed, so it becomes
   sprintf(cmd + strlen(cmd), " page=^%s", pagename);


Regards,
Henrik