When I try to use the PDF button I get a logon page PDF

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

When I try to use the PDF button I get a logon page PDF

Post by tecnalb »

Hello, when I use the button to create PDF I get a PDF of the NNA logon page. I'm logged in and using the system, but just get this crazy PDF.

I am running Nagios Network Analyzer • 2R1.0 •
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: When I try to use the PDF button I get a logon page PDF

Post by tgriep »

Did you enable SSL on the Network Analyzer system?

I found a previous post that may help you out with this issue. Take a look at it and see if this helps.
https://support.nagios.com/forum/viewto ... 3&start=40
Be sure to check out our Knowledgebase for helpful articles and solutions!
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: When I try to use the PDF button I get a logon page PDF

Post by tecnalb »

I have not enabled SSL at this point
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: When I try to use the PDF button I get a logon page PDF

Post by lmiltchev »

I have not enabled SSL at this point
Are you using a proxy? Have you tried to change the API key to see if this is going to fix the issue? Do you have any "old" PDFs left over in "/tmp"? Do you see any errors in the apache error log? Run:

Code: Select all

tail -f /var/log/httpd/error_log
then try to download a pdf. When you see the logon page, stop the tail (Ctrl + c), copy/paste the output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: When I try to use the PDF button I get a logon page PDF

Post by tecnalb »

Not a lot of good info here:

[root@nna ~]# tail -f /var/log/httpd//error_log
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
Loading pages (1/6)
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
Loading pages (1/6)
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: When I try to use the PDF button I get a logon page PDF

Post by tgriep »

Login to the Network Analyzer, click on your username in the top right corner, Click on the Generate New Key button under the API section and see if that resolves it for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: When I try to use the PDF button I get a logon page PDF

Post by tecnalb »

No such button exists... see attached... I am logged in as nagiosadmin
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: When I try to use the PDF button I get a logon page PDF

Post by tgriep »

In NA, click on Administration, User Management, edit the nagiosadmin account, enable API access, save it and see if that works for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: When I try to use the PDF button I get a logon page PDF

Post by tecnalb »

That was it. I just upgraded from the initial NNA version last week. Had not been using it. I suppose that feature was not there before!

Great!! Thanks for the help!!
Locked