偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

Nagios apache訪問權(quán)限問題解決方案

系統(tǒng) Linux
俗話說:工欲善其事,必先利其器.要做好系統(tǒng)管理,使自己的工作更輕松更有效的, Apache應(yīng)該是我們最常用的部署了

Nagios web界面提示Apache應(yīng)該是我們最常用的部署了,它可以被弄得很復(fù)雜,但在Nagios apache這個平臺上,我們只需要簡單的功能即可,為了驗(yàn)證用戶,我們稍微加一點(diǎn)修改就行了。

It appears as though you do not have permission to view information for any of the services you requested...
打開cgi.cfg配置文件,里面有個參數(shù):
use_authentication=1
為了保障系統(tǒng)的安全性,nagios設(shè)置了這個參數(shù),默認(rèn)為1,改為0即可幾則Nagios apache的問題處理裝了幾次,換了幾個版本的系統(tǒng),腦袋都大了,終于解決了
nrpe在 ./configure時提示
checking for SSL... configure: error: Cannot find ssl libraries
把openssl-devel裝上就可以了

Nagios apacheweb界面提示
It appears as though you do not have permission to view information for any of the services you requested...
打開cgi.cfg配置文件,里面有個參數(shù):
use_authentication=1
為了保障系統(tǒng)的安全性,nagios設(shè)置了這個參數(shù),默認(rèn)為1,改為0即可。

Service Commands 中Enable notifications for this service時報(bào)錯Sorry Dave, I can't let you do that...
It seems that you have chosen to not use the authentication functionality of the CGIs.
I don't want to be personally responsible for what may happen as a result of allowing unauthorized users to issue commands to Nagios,so you'll have to disable this safeguard if you are really stubborn and want to invite trouble.
Read the section on CGI authentication in the HTML documentation to learn how you can enable authentication and why you should want to.
修改cgi.cfg文件
修改use_authentication=1 (默認(rèn)) ,如果沒有添加,重啟nagios服務(wù)。


is not allowed to connect to this MySQL server
server(nagios服務(wù)端192.168.0.132)
#/usr/local/nagios/libexec/check_mysql -H 192.168.0.207 -u root -p xukixu
此時可能會出現(xiàn)錯誤:Host '192.168.0.132' is not allowed to connect to this MySQL server
因此只要在客戶端做個mysql授權(quán)用戶訪問即可

Nagios client(客戶端192.168.0.207)
#mysql -uroot -pabcd
mysql>grant all privileges on *.* to
root@192.168.0.132
identified by 'abcd;
mysql>flush privileges;
mysql>quit;

【編輯推薦】

  1. Nagios飛信linux下免費(fèi)短信提示配置
  2. IIS服務(wù)器中不能與apache共用的問題
  3. Linux系統(tǒng)的Nagios網(wǎng)絡(luò)管理模塊的實(shí)現(xiàn)
  4. IIS 7.0是否成為了Apache的掘墓者
  5. 消息報(bào)道IIS 6***超過Apache
     
責(zé)任編輯:chenqingxiang 來源: it168
相關(guān)推薦

2010-02-24 10:55:01

WCF跨域訪問

2010-07-30 12:40:00

Flex跨域訪問

2012-05-09 10:08:41

跨機(jī)房

2010-09-27 13:14:42

JVM內(nèi)存限制

2010-03-30 16:04:34

Linux Nginx

2011-03-23 16:38:28

LAMP

2010-04-28 19:24:17

Hp unix

2009-03-18 09:26:23

Winform多線程C#

2010-05-20 11:06:01

IIS服務(wù)器

2010-02-06 14:54:11

C++指針漂移

2010-10-08 13:09:38

JavaScript數(shù)

2010-02-23 17:49:56

WCF傳輸大數(shù)據(jù)

2010-05-04 11:30:29

Oracle漢字長度

2010-08-26 08:45:32

margin:0pxa

2010-08-26 10:56:16

CSStextarea

2010-09-15 14:14:29

IE6position

2009-09-03 16:09:48

.net回車符

2010-08-26 12:59:29

marginCSS

2019-04-04 13:11:37

React內(nèi)存泄露memory leak

2010-10-09 12:58:59

JS腳本兼容
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號