亚洲Aⅴ无码Av红楼在线观看_国产午夜福利涩爱AⅤ_国产sm调教一区二区三区_精品人妻一区二区三区不卡毛片

始創(chuàng)于2000年 股票代碼:831685
咨詢熱線:0371-60135900 注冊(cè)有禮 登錄
  • 掛牌上市企業(yè)
  • 60秒人工響應(yīng)
  • 99.99%連通率
  • 7*24h人工
  • 故障100倍補(bǔ)償
全部產(chǎn)品
您的位置: 網(wǎng)站首頁(yè) > 幫助中心>文章內(nèi)容

Nagios常見(jiàn)問(wèn)題

發(fā)布時(shí)間:  2012/7/31 19:35:19

 問(wèn)題1:
  It appears as though you do not have permission to view information for any of the hosts you requested
  臨時(shí)解決:
  sed -i 's/use_authentication=1/use_authentication=0/g' /usr/local/nagios/etc/cgi.cfg
  (取消了認(rèn)證 可以瀏覽主機(jī)狀態(tài) 但是無(wú)法在 nagios web端 執(zhí)行外部命令 )
  解決:
  登陸 nagios web接口的用戶
  需要和 /usr/local/nagios/etc/cgi.cfg 里面配置的用戶匹配
  沒(méi)有可以手動(dòng)添加 用逗號(hào)隔開
  問(wèn)題2:
  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.
  原因 : 未開啟認(rèn)證 開啟認(rèn)證可解決問(wèn)題
  編輯文件 /usr/local/nagios/etc/cgi.cfg
  將 use_authentication 值設(shè)成1 (0/1 關(guān)閉/開啟)
  use_authentication=1
  并重啟 nagios
  service nagios restart
  問(wèn)題3:
  It appears as though you do not have permission to view information for any of the hosts you requested...
  If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
  and check the authorization options in your CGI configuration file.
  原因 : 認(rèn)證用戶不正確
  開啟認(rèn)證 認(rèn)證的用戶必須是 cgi.cfg 配置文件里有的 默認(rèn)是 nagiosadmin
  如果你新建的其他用戶 需要添加進(jìn)去 多用戶用逗號(hào)分開
  authorized_for_system_information=nagiosadmin
  authorized_for_configuration_information=nagiosadmin
  authorized_for_system_commands=nagiosadmin
  authorized_for_all_services=nagiosadmin
  authorized_for_all_hosts=nagiosadmin
  authorized_for_all_service_commands=nagiosadmin
  authorized_for_all_host_commands=nagiosadmin
  如果不是 nagiosadmin 需要到后面添加
  例子 authorized_for_system_information=nagiosadmin,admin
  問(wèn)題4:
  調(diào)用外部命令錯(cuò)誤 可能權(quán)限不夠
  解決:
  臨時(shí)解決:
  chown -R nagios.nagcmd /usr/local/nagios/var/rw
  chmod -R 777 /usr/local/nagios/var/rw
  為什么說(shuō)臨時(shí)解決 ? 因?yàn)橹貑agios后 權(quán)限會(huì)還原 還是沒(méi)權(quán)限執(zhí)行
  解決:
  在安裝 nagios 時(shí) 就要把用戶選對(duì) 然后再安裝
  ./configure --with-group=nagios --with-user=nagios --with-command-group=nagcmd --with-gd-lib=/usr/lib --with-gd-inc=/usr/include
  make all
  make install
  make install-init
  make install-config
  make install-commandmode
  ===
  rw agios.cmd 權(quán)限是 nagios.nagios
  還需要把 web用戶 加入到 nagios組里 這樣才有權(quán)限執(zhí)行 nagios.cmd
  問(wèn)題5: 3D瀏覽錯(cuò)誤 提示下載 statuswrl.cgi
  解決: 需安裝3D瀏覽插件
  原因是未安裝支持vrml 3D瀏覽的插件
  vrml 面向?qū)ο蟮娜S造型語(yǔ)言 需要安裝 vrml 支持插件才能瀏覽
  Cortona VRML Client 是一個(gè)優(yōu)秀的VRML瀏覽插件
  http://download.pcpop.com/Down/48664.html
  http://down2.pcpop.com/softdown/exp/cortvrml.zip
  問(wèn)題6: 查看幫助文檔時(shí) 無(wú)法看到圖片
  原因 url錯(cuò)誤
  圖片源地址 http://nagios_ip/pub/images/reachability1.png
  實(shí)際地址 /usr/local/nagios/share/docs/images/reachability1.png
  解決
  配置apache加入別名
  Alias /pub "/usr/local/nagios/share/docs"
  apachectl restart
  重啟apache 問(wèn)題解決

億恩科技地址(ADD):鄭州市黃河路129號(hào)天一大廈608室 郵編(ZIP):450008 傳真(FAX):0371-60123888
   聯(lián)系:億恩小凡
   QQ:89317007
   電話:0371-63322206


本文出自:億恩科技【www.allwellnessguide.com】

服務(wù)器租用/服務(wù)器托管中國(guó)五強(qiáng)!虛擬主機(jī)域名注冊(cè)頂級(jí)提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]

  • 您可能在找
  • 億恩北京公司:
  • 經(jīng)營(yíng)性ICP/ISP證:京B2-20150015
  • 億恩鄭州公司:
  • 經(jīng)營(yíng)性ICP/ISP/IDC證:豫B1.B2-20060070
  • 億恩南昌公司:
  • 經(jīng)營(yíng)性ICP/ISP證:贛B2-20080012
  • 服務(wù)器/云主機(jī) 24小時(shí)售后服務(wù)電話:0371-60135900
  • 虛擬主機(jī)/智能建站 24小時(shí)售后服務(wù)電話:0371-60135900
  • 專注服務(wù)器托管17年
    掃掃關(guān)注-微信公眾號(hào)
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權(quán)所有  地址:鄭州市高新區(qū)翠竹街1號(hào)總部企業(yè)基地億恩大廈  法律顧問(wèn):河南亞太人律師事務(wù)所郝建鋒、杜慧月律師   京公網(wǎng)安備41019702002023號(hào)
      0
     
     
     
     

    0371-60135900
    7*24小時(shí)客服服務(wù)熱線