Page 2 of 3
Re: automation report fail export data
Posted: Wed Nov 11, 2015 12:13 am
by steven.giang
Hi Kennedy,
Find attached
conf.d.zip
Re: automation report fail export data
Posted: Wed Nov 11, 2015 4:44 pm
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
Re: automation report fail export data
Posted: Thu Nov 12, 2015 1:38 am
by steven.giang
When I tried access the link, I got the error message say "You are not authorised to read this forum." ?
Re: automation report fail export data
Posted: Thu Nov 12, 2015 10:18 am
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
Re: automation report fail export data
Posted: Fri Nov 13, 2015 12:28 am
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?
Re: automation report fail export data
Posted: Fri Nov 13, 2015 10:32 am
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?
Re: automation report fail export data
Posted: Sun Nov 15, 2015 7:54 pm
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
Re: automation report fail export data
Posted: Mon Nov 16, 2015 4:45 pm
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
Re: automation report fail export data
Posted: Mon Nov 16, 2015 7:18 pm
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
Re: automation report fail export data
Posted: Mon Nov 16, 2015 7:24 pm
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)