Page 3 of 3

Re: state history automatic report is not working properly

Posted: Thu Aug 08, 2019 4:06 pm
by ssax
The no_proxy directive doesn't work with IP addresses, only domain names, please do this:

Code: Select all

no_proxy=localhost,cphofnag01.acp.net
Then restart apache and try it again (not sure if a restart will pick it up for all processes, you may want to reboot just in case):

Code: Select all

service httpd restart
service nagios restart
Let us know if that resolves it.

If you open the PDF in a text editor it shows you some HTML code, that code is not from our code, which means it's your proxy returning it and that's why it's failing, the change above should take care of that.

Then delete and recreate the report (make sure you're using cphofnag01.acp.net instead of the IP in your web browser AND have that set in Admin > Program URL/External URL.

Please send me a FRESH copy of your profile, you can download it from Admin > System Profile > Download Profile and upload it to the ticket by clicking the "choose item" link at the bottom of the menu.​ Make sure to wait until the file is finished uploading before clicking the Post Reply button.

If you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:

Code: Select all

rm -rf /usr/local/nagiosxi/var/components/profile*​​
/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh SUPPORT
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip​ file.​

If the profile script fails, please include the ENTIRE output.

Re: state history automatic report is not working properly

Posted: Thu Aug 08, 2019 9:03 pm
by udaykumar
Hi Team,

No proxy is already having the below hostdetails. Do you still want me add another because the enter 10.0.0.0 is excluded because my nagios server under 10.X.X.X series.
localhost is there
10.0.0.0/8 is includes the nagios servers too. Do you want add me hostname here?
no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Hosts to exclude from proxying

Re: state history automatic report is not working properly

Posted: Fri Aug 09, 2019 1:11 pm
by ssax
The no_proxy directive doesn't work with IP addresses, only domain names
Yes, please replace yours like so (add any other DNS names FQDNs you use for the XI server as well)

Code: Select all

no_proxy=localhost,cphofnag01.acp.net,cphofnag01