Page 1 of 2

Permalink returns "Not Authorized page"

Posted: Fri Jun 17, 2011 3:13 am
by fao
I have created a custom nagios plugin and it works brilliantly

The only problem I have is that the permalink from nagiosxi doesn't work

I click on the permalink icon when looking at the service status detail page

https://nagios.fao.org/nagiosxi/index.p ... est%3Dauto

When I access that link from a browser I get the following message

"Not Authorized
You are not authorized to view the requested object, or the object does not exist."

This happens regardless of which account I am logged in as. Please assist.

Re: Permalink returns "Not Authorized page"

Posted: Fri Jun 17, 2011 10:54 am
by mguthrie
This was a known bug we fixed starting in R2011. Does your license cover an upgrade to 2011, or do you need a patch for 2009?

Re: Permalink returns "Not Authorized page"

Posted: Mon Jun 20, 2011 1:28 am
by fao
I have no idea whether my license covers the upgrade to 2011

here is my customer number: 31730

How difficult is the upgrade to 2011?

pls send me an email w/ your response. For some reason phpBB isn't send me mails when you respond to my questions [email protected]

Re: Permalink returns "Not Authorized page"

Posted: Mon Jun 20, 2011 10:34 am
by nscott
Email sent.

Re: Permalink returns "Not Authorized page"

Posted: Wed Jun 22, 2011 12:40 am
by fao
I still get the same result after upgrading to 2011 R1.4 :(

Re: Permalink returns "Not Authorized page"

Posted: Wed Jun 22, 2011 1:12 pm
by mguthrie
We'll run some tests on this and see what we can figure out.

Re: Permalink returns "Not Authorized page"

Posted: Wed Jun 22, 2011 4:24 pm
by mguthrie
It looks like this might be an SSL related bug. There are some issues we still have to iron out related to using https, so we'll put this on the SSL bug list.

Re: Permalink returns "Not Authorized page"

Posted: Mon Jun 27, 2011 2:00 am
by fao
I have turned off SSL and I get the same bug :(


this shows up in my error log if it helps

[Mon Jun 27 09:05:53 2011] [error] [client 168.202.35.194] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/local/nagiosxi/html/includes/components/windowseventlog/../configwizardhelper.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/windowseventlog/windowseventlog.inc.php on line 8, referer: https://nagios.fao.org/nagiosxi/include ... &dest=auto

However I have tried fixing the path to configwizardhelper.inc.php and it doesn't fix the problem. The error message doesn't appear in the log but I still get the "Not Authorized" screen

Re: Permalink returns "Not Authorized page"

Posted: Mon Jun 27, 2011 10:52 am
by mguthrie
OH, ok. You've got a configwizard installed through your components menu.

rm -rf /usr/local/nagiosxi/html/includes/components/windowseventlog

and reinstall the windows event log wizard through the Manage Config Wizards page. That might resolve the issue, or at the very least, take care of the error messages in the log.

Re: Permalink returns "Not Authorized page"

Posted: Mon Jun 27, 2011 11:58 pm
by fao
It removes the error in the logs but doesn't fix the problem :(