Bad Ticket when attempting to Respond to Notification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Bad Ticket when attempting to Respond to Notification

Post 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?
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Re: Bad Ticket when attempting to Respond to Notification

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Bad Ticket when attempting to Respond to Notification

Post 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.?
Be sure to check out our Knowledgebase for helpful articles and solutions!
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Re: Bad Ticket when attempting to Respond to Notification

Post by matt.uebel »

Running Nagios XI 2012R1.7

Haven't made any changes to the system... at most was normal adding/modding objects.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Bad Ticket when attempting to Respond to Notification

Post 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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

Re: Bad Ticket when attempting to Respond to Notification

Post by matt.uebel »

Yes. The "Respond" urls no longer seem to be malformed.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Bad Ticket when attempting to Respond to Notification

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Bad Ticket when attempting to Respond to Notification

Post by lmiltchev »

I will keep this topic open in case the issue resurfaces.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked