Re: state history automatic report is not working properly
Posted: Thu Aug 08, 2019 4:06 pm
The no_proxy directive doesn't work with IP addresses, only domain names, please do this:
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):
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:
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip file.
If the profile script fails, please include the ENTIRE output.
Code: Select all
no_proxy=localhost,cphofnag01.acp.netCode: Select all
service httpd restart
service nagios restart
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 SUPPORTIf the profile script fails, please include the ENTIRE output.