Securing response URL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Securing response URL

Post by BanditBBS »

I did this: http://support.nagios.com/forum/viewtop ... 16&t=11690

However, it doesn't seem to be working. I am clicking on a response URL and it is taking me right to the service. Something I need to restart?

I did restart Nagios and httpd.

Thanks
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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Securing response URL

Post by sreinhardt »

I was going to ask if you happened to update to 2.3... but your signature already covers that. Have you logged out of XI then clicked the link?
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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Securing response URL

Post by BanditBBS »

sreinhardt wrote:I was going to ask if you happened to update to 2.3... but your signature already covers that. Have you logged out of XI then clicked the link?
Yes sir. I even just closed all browser windows and clicked on link. Browser opened right up into it the screen where I could make a change. As stated, I applied changes to a config change(restarted Nagios) and also manually restarted the httpd service. Was there any specific place in the file I should have put that setting?
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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Securing response URL

Post by sreinhardt »

Not really, we have it set at the bottom of the config.inc.php, but it really shouldn't matter. Let me verify that it needs to be set to 1 to secure and not 1 to un-secure.

EDIT: OK so we needed some clarification on that paritcular setting. Specifically, that old notifications with that link still will work for the time being. However any future notifications will have a completely different url in the notification. In a future release, we are likely going to alter the rr.php to look at that variable and if set, ignore even old notifications, however we did not want to push too many changes in one step.

So with that said, if you get a new notification and this behavior exists, please let me know, as it should not continue.
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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Securing response URL

Post by BanditBBS »

sreinhardt wrote:Not really, we have it set at the bottom of the config.inc.php, but it really shouldn't matter. Let me verify that it needs to be set to 1 to secure and not 1 to un-secure.
I moved mine to the bottom of file just in case and restarted httpd(is that what is needed to be restarted?) and it made no change. Will wait on your test result.
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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Securing response URL

Post by sreinhardt »

Just to post after you in case you don't see the edit:

OK so we needed some clarification on that paritcular setting. Specifically, that old notifications with that link still will work for the time being. However any future notifications will have a completely different url in the notification. In a future release, we are likely going to alter the rr.php to look at that variable and if set, ignore even old notifications, however we did not want to push too many changes in one step.

So with that said, if you get a new notification and this behavior exists, please let me know, as it should not continue.
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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Securing response URL

Post by BanditBBS »

I did not see the edit, thanks for posting again :)

Ok, now that you made that clarification, I'm good with closing this thread. I'm sure it will work as designed, and I will test next time I see an alert go to someone. I was using an old alert for testing purposes :oops:
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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Securing response URL

Post by sreinhardt »

Cool sounds great! After speaking with scott, thats what we figured was happening. Hopefully that final change should be done in the next release.
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.
Locked