automation report fail export data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
steven.giang
Posts: 38
Joined: Tue May 12, 2015 3:08 am

Re: automation report fail export data

Post by steven.giang »

Hi Kennedy,

Find attached
conf.d.zip
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: automation report fail export data

Post by ssax »

Are you using a proxy?

We have a post with the exact same issue here:

https://support.nagios.com/forum/viewto ... 479#p96479

Try renaming the pdf file with a .txt extension and see if it says anything.


Thank you
steven.giang
Posts: 38
Joined: Tue May 12, 2015 3:08 am

Re: automation report fail export data

Post by steven.giang »

When I tried access the link, I got the error message say "You are not authorised to read this forum." ?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: automation report fail export data

Post by hsmith »

Are you using a proxy? That was a link to the customer forums. I'll paste what I think is the relevant information.
Fred Kroger wrote: Update - got it working - but we've either got a problem with how wget interpets the wgetrc file or we need to update the FAQ.
The version of wget I'm running is: wget.x86_64 1.12-1.8.el6

It was resolved by actually adding the hostname to the no_proxy line in wgetrc.
It appears that whatever you use as the Nagios Program URL, you need to use the same string in the wgetrc file.
So if your URL = http://ServerA/nagiosxi then the line in wgetrc should be:
no_proxy=localhost,127.0.0.0/8,ServerA

Or if you use an IP instead - URL = http://10.1.1.10/nagiosxi then the line in wgetrc should be:
no_proxy=localhost,127.0.0.0/8,10.1.1.10

I also found that I can't use the subnet mask so the following doesn't work:
no_proxy=localhost,127.0.0.0/8,10.1.1.0/24

Thanks for pointing me in the right direction.

regards... Fred
Former Nagios Employee.
me.
steven.giang
Posts: 38
Joined: Tue May 12, 2015 3:08 am

Re: automation report fail export data

Post by steven.giang »

Hi Hsmith,

Which conf file are you refer to modifies the "no_proxy" setting and is this related to my 1st issue or 2nd issue I have originally post?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: automation report fail export data

Post by hsmith »

/etc/wgetrc is the file that that post is referring to. Can you clarify on whether or not you are using a proxy before making this change?
Former Nagios Employee.
me.
steven.giang
Posts: 38
Joined: Tue May 12, 2015 3:08 am

Re: automation report fail export data

Post by steven.giang »

Hi Hsmith,

All command are commented in /etc/wgetrc file, see attached zip (I can't upload txt or paste the text here)
wgetrc.zip
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: automation report fail export data

Post by tgriep »

In the Nagios XI GUI, can you go to Admin > Manage System Config and verify that the Program and External URL are setup correctly to a valid Hostname that the server can resolve?
Can you post a screen shot of that page?
What is the IP address of the server?
Can you run the following as root in a command prompt on the server and post the results here?

Code: Select all

nslookup abtg-nag-01.abtgroup.com.au
ls -l /usr/local/nagiosxi/html/
ls -l /usr/local/nagiosxi/html/perfgraphs
Be sure to check out our Knowledgebase for helpful articles and solutions!
steven.giang
Posts: 38
Joined: Tue May 12, 2015 3:08 am

Re: automation report fail export data

Post by steven.giang »

Hi,

See attached, a screenshot of the command output and the manage system config page
nagiosxi-02.JPG
nagiosxi-01.JPG
Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: automation report fail export data

Post by Box293 »

Seeing as you have the same address for "Program URL" and "External URL" can you either:

Delete the "External URL" field

OR

Make sure both fields match (right now you don't have /nagiosxi/ at the end of the External URL)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked