Xymon Mailing List Archive search

bb-ack.sh submit fails

4 messages in this thread

list Gordon Thiesfeld · Thu, 17 Feb 2005 16:11:10 -0600 ·
I set up the ack and maint pages in the sec-cgi directory.  I have the
authentication set up, and I'm very happy with it.  My maint page is working
great, but I'm having a problem with the ack page.

The page comes up fine, but when I hit the send button, it sends me to
/hobbit-cgi/bb-ack.sh, which isn't there anymore.  I'm running RC2 with the
post-RC2.patch.  I haven't tried to ack anything since beta5, though.

Also, I like how you've fixed up the disabled status page to show who
disabled it, and for how long, etc.  Would it be possible to have that info
in the disabled email as well?

Thanks,

Gordon
list Henrik Størner · Sun, 20 Feb 2005 22:00:18 +0100 ·
quoted from Gordon Thiesfeld
On Thu, Feb 17, 2005 at 04:11:10PM -0600, Thiesfeld, Gordon wrote:
The page comes up fine, but when I hit the send button, it sends me to
/hobbit-cgi/bb-ack.sh, which isn't there anymore.  I'm running RC2 with the
post-RC2.patch.
Could you check if the ~hobbit/server/web/acknowledge_form was updated
with the RC2-version of that file ? It should have the line

   <FORM METHOD="GET" ACTION="&REQUEST_URI">

near the top of the file; if not, copy the file over from
hobbit-4.0-RC2/hobbitd/webfiles/
quoted from Gordon Thiesfeld

Also, I like how you've fixed up the disabled status page to show
who disabled it, and for how long, etc.  Would it be possible to
have that info in the disabled email as well?
I don't quite follow you here. What email is this ? Disabling a test
doesn't normally result in e-mails being sent out.


Regards,
Henrik
list Gordon Thiesfeld · Wed, 23 Feb 2005 15:30:33 -0600 ·
I'm sorry, I've been on vacation.
quoted from Henrik Størner
On Thu, Feb 17, 2005 at 04:11:10PM -0600, Thiesfeld, Gordon wrote:
The page comes up fine, but when I hit the send button, it sends me to
/hobbit-cgi/bb-ack.sh, which isn't there anymore.  I'm running RC2 with
the
post-RC2.patch.
Could you check if the ~hobbit/server/web/acknowledge_form was updated
with the RC2-version of that file ? It should have the line

   <FORM METHOD="GET" ACTION="&REQUEST_URI">

near the top of the file; if not, copy the file over from
hobbit-4.0-RC2/hobbitd/webfiles/
I'll take care of this when I get home tonight.
quoted from Henrik Størner
Also, I like how you've fixed up the disabled status page to show
who disabled it, and for how long, etc.  Would it be possible to
have that info in the disabled email as well?
I don't quite follow you here. What email is this ? Disabling a test
doesn't normally result in e-mails being sent out.
Hmm, I was doing some testing, so I "downed" my test server, and it went
red.  I got an email with the subject "Test_Server:conn is RED".  Then I
tried to ack the red page.  That's when I noticed the problem above.  When
that didn't work, I disabled the test.  After that, I got an email with this
subject "Test_Server:conn is disabled".

In big brother we have it set up so that when someone disables something the
big brother admin (me) gets an email.  I was assuming this was the same
function.  

Regards,
Henrik

list Henrik Størner · Sun, 27 Feb 2005 14:37:40 +0100 ·
quoted from Gordon Thiesfeld
On Wed, Feb 23, 2005 at 03:30:33PM -0600, Thiesfeld, Gordon wrote:
Henrik Stoerner wrote:
Also, I like how you've fixed up the disabled status page to show
who disabled it, and for how long, etc.  Would it be possible to
have that info in the disabled email as well?
I don't quite follow you here. What email is this ? Disabling a test
doesn't normally result in e-mails being sent out.
Seems I was wrong here, it's maint.pl that triggers these e-mails.
RC4 adds some stuff to make these mails appear if you configure
hobbit-alerts.cfg to send out "NOTICE" alerts.


Henrik