Permalink returns "Not Authorized page"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
fao
Posts: 99
Joined: Thu Feb 03, 2011 3:05 am

Permalink returns "Not Authorized page"

Post 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.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Permalink returns "Not Authorized page"

Post 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?
fao
Posts: 99
Joined: Thu Feb 03, 2011 3:05 am

Re: Permalink returns "Not Authorized page"

Post 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]
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Permalink returns "Not Authorized page"

Post by nscott »

Email sent.
Nicholas Scott
Former Nagios employee
fao
Posts: 99
Joined: Thu Feb 03, 2011 3:05 am

Re: Permalink returns "Not Authorized page"

Post by fao »

I still get the same result after upgrading to 2011 R1.4 :(
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Permalink returns "Not Authorized page"

Post by mguthrie »

We'll run some tests on this and see what we can figure out.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Permalink returns "Not Authorized page"

Post 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.
fao
Posts: 99
Joined: Thu Feb 03, 2011 3:05 am

Re: Permalink returns "Not Authorized page"

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Permalink returns "Not Authorized page"

Post 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.
fao
Posts: 99
Joined: Thu Feb 03, 2011 3:05 am

Re: Permalink returns "Not Authorized page"

Post by fao »

It removes the error in the logs but doesn't fix the problem :(
Locked