Hi Team,
We are using NagiosXI version 5.5.7 . We are facing issues with Report generating. When we try to generate a report based on our setup we are facing an error "NagiosXI/reports/Availability.php" was not found on this server. We were able to generate reports previously.
Please advise what we have missed in our configuration.
Regards
S. Prabhu
Report Generating Issue
Report Generating Issue
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Report Generating Issue
Hello, @CentricIT.
First, please run the following script as root:
First, please run the following script as root:
Next, please run the following command and show me the output:/usr/local/nagiosxi/scripts/reset_config_perms.sh
Finally, please upload the following config file:[root@centos7x64 reports]# ls -l /usr/local/nagiosxi/html/reports/availability.php
-rwxr-x--- 1 nagios nagios 151876 Jan 3 16:23 /usr/local/nagiosxi/html/reports/availability.php
/etc/httpd/conf.d/nagiosxi.conf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Report Generating Issue
Hi npolovenko,
Thanks for looking into the issue. Please find the requested details with this reply.
/usr/local/nagiosxi/scripts/reset_config_perms.sh ls -l /usr/local/nagiosxi/html/reports/availability.php NagiosXI conf file. We have removed the server name for safety purpose Please help us to fix this issue ASAP. since we need to generate reports for our customers.
Regards
Centric IT
Thanks for looking into the issue. Please find the requested details with this reply.
/usr/local/nagiosxi/scripts/reset_config_perms.sh ls -l /usr/local/nagiosxi/html/reports/availability.php NagiosXI conf file. We have removed the server name for safety purpose Please help us to fix this issue ASAP. since we need to generate reports for our customers.
Regards
Centric IT
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Report Generating Issue
@CentricIT, Let's try the following. Open the /etc/httpd/conf.d/nagiosxi.conf file and add "Require all granted" to the bottom of the following section:
Also to the bottom of this block.Directory "/usr/local/nagiosxi/html">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
# AuthName "Nagios XI"
# AuthType Basic
# AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
# Require valid-user
Require all granted
</Directory>
Then run:<Directory "/usr/local/nagiosxi/html/includes/components/custom-includes">
AllowOverride All
Options None
Require all granted
</Directory>
service httpd restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Report Generating Issue
Hi npolovenko,
Thanks for giving us the support,
after adding the below mentioned commands in our apache config file , we are unable to access the nagios URL from the browser.
Its hitting "Internal Server Error" error. please find the attachment. Our Apache version is 2.2.15 , So "Require all granted" command will not be work into it. Given details not suitable for us , So kindly do the needful.
Regards
Centric IT
Thanks for giving us the support,
after adding the below mentioned commands in our apache config file , we are unable to access the nagios URL from the browser.
Its hitting "Internal Server Error" error. please find the attachment. Our Apache version is 2.2.15 , So "Require all granted" command will not be work into it. Given details not suitable for us , So kindly do the needful.
Regards
Centric IT
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Report Generating Issue
@CentricIT , Ok, please remove that setting and restart the apache. In XI GUI go to the Admin menu then click on System Settings in the left column. Make sure that the Program URL and External URL fields are filled out.
The IP address or FQDN needs to be followed by /nagiosxi/
In your case the program URL is probably going to be https://monitoring.centricsoftware.com/nagiosxi/
Also, please go over this article to make sure SSL is configured correctly on the server.
https://assets.nagios.com/downloads/nag ... s%20XI.pdf
The IP address or FQDN needs to be followed by /nagiosxi/
In your case the program URL is probably going to be https://monitoring.centricsoftware.com/nagiosxi/
Also, please go over this article to make sure SSL is configured correctly on the server.
https://assets.nagios.com/downloads/nag ... s%20XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Report Generating Issue
Hi npolovenko,
Thanks for your help. The issue is fixed we can generate reports as per our requirements now.
Regards
CentricIT
Thanks for your help. The issue is fixed we can generate reports as per our requirements now.
Regards
CentricIT
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Report Generating Issue
Great! Glad to hear it is resolved.CentricIT wrote:Hi npolovenko,
Thanks for your help. The issue is fixed we can generate reports as per our requirements now.
Regards
CentricIT
Locking thread