I am not sure how much the respond URL is used, but we don't have many "bad ticket" issues reported from other users. I've seen only 1 or 2.Or is rr just not used by that many people? Hmmmm
Respond URL - Bad Ticket
Re: Respond URL - Bad Ticket
I am not able to recreate the issue, however I sent a note to our devs so that they can take a look at this.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Respond URL - Bad Ticket
When this happens, is it always when you getting the -- in the URL in the notification?
Re: Respond URL - Bad Ticket
Yes, and I am 99% sure its always during an apply configuration or shortly after when the stuff is coming back up. I have my retries set to 12 now with a 5 second retry in the rr.php file. It's really lowered the number of bad ticket issues.scottwilkerson wrote:When this happens, is it always when you getting the -- in the URL in the notification?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Respond URL - Bad Ticket
You are correct... I have found the cause, and placed a fix in the attached file. Place in
The solution was to retry getting the object_id 5 time separated by 1 second in case ndo was in the middle of resetting the object id's, (e.g. during an apply configuration) if the object ID is still -1, we will use the standard URL instead of the rapid response URL in the notification message. So you will actually still get a usable URL in the message.
This fix will be included in XI 5R1.0
Code: Select all
/usr/local/nagiosxi/html/includes/utils-notifications.inc.phpThis fix will be included in XI 5R1.0
You do not have the required permissions to view the files attached to this post.
Re: Respond URL - Bad Ticket
Cool Scott, thanks, I'll put this into production and test here.
Can you clarify what you meant by "standard url" in the cased when it still fails after the retries? Will it be a url directly to the problem host and/or service just without the ticket?
Can you clarify what you meant by "standard url" in the cased when it still fails after the retries? Will it be a url directly to the problem host and/or service just without the ticket?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Respond URL - Bad Ticket
Yes, that is correct.
Re: Respond URL - Bad Ticket
Thanks! I think this can be closed for the second and hopefully final time 
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Respond URL - Bad Ticket
I just tested it here and it seems to work. PM me if this issue recurs and I will reopen the thread.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.