Page 1 of 1

Bad Ticket when attempting to Respond to Notification

Posted: Fri Jan 17, 2014 9:48 am
by matt.uebel
Like in a previous post http://support.nagios.com/forum/viewtop ... 8&start=10 , whenever any user clicks the respond link in an email, the url takes them to a simple page that only says "Bad Ticket"

The URL given in the email is of the form : nagiosxi//rr.php?uid=137--1-0c8300ae1a29348d845e51a7524601e0

When I take out that extra dash and change the URL to nagiosxi//rr.php?uid=137-1-0c8300ae1a29348d845e51a7524601e0 , it works, taking me to the response page as expected.

I looked through my recent notifications attempting to find when this mechanism broke, and found it was yesterday in the early morning.

Last working URL: nagiosxi//rr.php?uid=137-1975-0c8300ae1a29348d845e51a7524601e0

Broken URL immediately after that last working one : nagiosxi//rr.php?uid=137--1-0c8300ae1a29348d845e51a7524601e0

What could have caused the URL to change from one dash to the two dashes that break the URL?

Re: Bad Ticket when attempting to Respond to Notification

Posted: Fri Jan 17, 2014 11:51 am
by matt.uebel
Ok.... so the problem seems to have stopped.

Last malformed Respond URL was at 10:49 : nagiosxi//rr.php?uid=137--1-0c8300ae1a29348d845e51a7524601e0

and now the URLS look like : nagiosxi//rr.php?uid=137-5157-0c8300ae1a29348d845e51a7524601e0

and all work.

What could be causing this?

Re: Bad Ticket when attempting to Respond to Notification

Posted: Fri Jan 17, 2014 3:21 pm
by lmiltchev
What is the Nagios XI version that you are currently using? Have you made any changes to the system prior to receiving the "malformed" Respond URL (upgrade, etc.)? Are you using proxy, ssl, etc.?

Re: Bad Ticket when attempting to Respond to Notification

Posted: Fri Jan 17, 2014 3:33 pm
by matt.uebel
Running Nagios XI 2012R1.7

Haven't made any changes to the system... at most was normal adding/modding objects.

Re: Bad Ticket when attempting to Respond to Notification

Posted: Fri Jan 17, 2014 3:45 pm
by sreinhardt
As you stated, you are missing a portion between the hyphens or have an additional one. I am not 100% sure but I would think this is a service id tag. Has this since resolved itself, or continuing to be an issue?

Code: Select all

137--1-0c830 vs 137-1975-0c83

Re: Bad Ticket when attempting to Respond to Notification

Posted: Wed Jan 22, 2014 2:38 pm
by matt.uebel
Yes. The "Respond" urls no longer seem to be malformed.

Re: Bad Ticket when attempting to Respond to Notification

Posted: Wed Jan 22, 2014 3:02 pm
by slansing
I know there were a few changes to the way response URLs work in more recent version, may I suggest an upgrade to 2012 2.8c?

http://assets.nagios.com/downloads/nagi ... ctions.pdf

Re: Bad Ticket when attempting to Respond to Notification

Posted: Wed Jan 22, 2014 3:06 pm
by lmiltchev
I will keep this topic open in case the issue resurfaces.