在我们的linux rhel 5.3服务器上成功安装Nagios核心3.4.1(我也安装了插件1.4.11)之后,我无法login到nagios的web界面。我正在运行apache 2.2.3
我正在使用Internet Explorer 8和Firefox 3.6.3
当我尝试在桌面上(与Nagios服务器在同一networking上)inputURL http // localhost / nagios /时,它似乎很喜欢
但如果我尝试
http // xxxx / nagios /(其中xxxx是我的nagios服务器的IP地址)它喜欢它,但随后出现validationpopup
input密码和用户名(nagiosadmin)后会抛出下面的错误
The server xxxx at Nagios access requires a username and password Warning this server is requesting that your username and password be sent in an insecure manner(basic authentication without a secure connection)
经过几次尝试我得到错误401身份validation所需的错误从Internet Explorer;此服务器无法validation您有权访问请求的文档。 要么提供了错误的凭据,要么浏览器不知道如何提供所需的凭据。
帮助请任何人..似乎像authentication问题
对不起,我解决了我自己的问题,只是30分钟后,我张贴这个线程…我改变了权限的htpasswd.users文件它拥有root.I改变它是可读的nagios用户..取决于你的喜好,你可以保持它拥有的根和chmod它使所有可读或chown,使其拥有的nagios ..我只是“chmodded”我的使它可读nagios用户和宾果它的工作..
首先,你需要确保你已经安装了像nagios3,nagios3-core和nagios3-cgi这样所有需要的nagios软件包。 我不确定是否所有这些都是在Redhat上运行的,因为我正在运行Ubuntu。 我的意思是你需要确保你没有错过任何必需的软件包。
如果你仍然无法login,你可以看看Apache的configuration,并使用htpasswd工具来添加新的用户名/密码进行授权。 您需要find像/etc/nagios3/htpasswd.users这样的文件。 这在redhat上也可能不同。 您可以重新创build该文件或创build另一个用户名/密码。