Hi,
I'm not sure why we cannot access nagios directory remotely. it does not happen when we locally access nagios. ie : http://localhost/nagios.
however from the httpd error log.
it shown :
"[autoindex:error] cannot serve durectiry /var/www/html/ No matching DirectoryIndex (index.html, index.html.var, index.php) found, and server-generated directory index forbidden by Options directive"
thanks in advance.
Cannot access nagios web directory remotely
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Cannot access nagios web directory remotely
How did you install nagios, did you follow any guides? If so, please provide a link.
What OS is nagios installed on?
What OS is nagios installed on?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Cannot access nagios web directory remotely
if you are looking for a guide on how to install it give these a crack, they are foolproof
http://sites.box293.com/nagios/guides/installing-nagios
http://sites.box293.com/nagios/guides/installing-nagios
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
Re: Cannot access nagios web directory remotely
I follow this guide https://www.digitalocean.com/community/ ... n-centos-7Box293 wrote:How did you install nagios, did you follow any guides? If so, please provide a link.
What OS is nagios installed on?
Centos 7 -1.1503.el7 x64
Re: Cannot access nagios web directory remotely
noted that. thanks. however, i need a solution on this issue. are you saying that re-install would be the option?nozlaf wrote:if you are looking for a guide on how to install it give these a crack, they are foolproof
http://sites.box293.com/nagios/guides/installing-nagios
Re: Cannot access nagios web directory remotely
It sounds like you may have had apache already installed on the system. I would recommend reinstalling.
I wrote instructions for installing Nagios Core on Centos 7 which will work for you without a doubt on a minimal install.
https://assets.nagios.com/downloads/nag ... entos7.pdf
I wrote instructions for installing Nagios Core on Centos 7 which will work for you without a doubt on a minimal install.
https://assets.nagios.com/downloads/nag ... entos7.pdf
Former Nagios Employee
Re: Cannot access nagios web directory remotely
In addition to rkennedy's suggestion, one other thing to consider is iptables running on the Nagios server and have you allowed other hosts access? Run the command 'iptables --list' to check.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Cannot access nagios web directory remotely
surprisingly, the problem resolved without doing any changes but still the no matching directoryindex is still logged.
on top of that i did run setenforce 0 and stop iptables service, when the problem occurred.
on top of that i did run setenforce 0 and stop iptables service, when the problem occurred.
Re: Cannot access nagios web directory remotely
It was most likely a permissions issue that had to do with SELinux.
Can you please clarify what you mean by no matching directoryindex is logged? Show us a screenshot?
Can you please clarify what you mean by no matching directoryindex is logged? Show us a screenshot?
Former Nagios Employee
Re: Cannot access nagios web directory remotely
please find below the screen shot for your review.rkennedy wrote:It was most likely a permissions issue that had to do with SELinux.
Can you please clarify what you mean by no matching directoryindex is logged? Show us a screenshot?
https://support.nagios.com/forum/downlo ... w&id=12704