看板 MIS 關於我們 聯絡資訊
大家不好意思不知道能不能詢問關於Nagios的問題 我是最近才開始使用的,目前碰到一個嚴重狀況 Nagios本身沒有問題,但是配上PNP4nagios之後 PNP4nagios無法使用 安裝設定完畢及設定之後利用http://"ip"/pnp4nagios/可以看到如下圖的畫面 http://imgur.com/4Mf1gG3 他表示我可刪除index.php,因此我使用mv把資料刪除後 使用http://"ip"/pnp4nagios/graph?host=localhost&srv=Current%20Load 就會出現下圖的錯誤訊息 http://imgur.com/lRCySRb error.log檔中出現 AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://"ip"/nagios/cgi-bin/status.cgi?host=all 因此我在/etc/apache2/sites-available/000-default.conf中 加入LimitInternalRecursion 500的指令 就會出現下圖的錯誤訊息,並且這次沒有error.log訊息 http://imgur.com/N61wA1Q 我想說會不會是我的apache設定有問題 但是我在apache2.4.7中的設定是使用pnp4nagios的預設設定檔 檔案位置在/etc/apache2/conf-enabled/pnp4nagios.conf是ln過來的 且rewrite.load已經打開 http://imgur.com/vhtD8vI 下面是是我locahost的設定中我對load的檢測多加一條項目 action_url /pnp4nagios/graph?host=$HOSTNAME$&srv=$SERVICEDESC$' class='tips' rel='/pnp4nagios/popup?host=$HOSTNAME$&srv=$SERVICEDESC$ 其他的部分都是參照https://docs.pnp4nagios.org/pnp-0.6/config 如果還要附上什麼資料麻煩跟我說 處理幾天,找不到問題點,晚上睡不著,麻煩前輩們幫忙 先謝謝大家 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.133.124.133 ※ 文章網址: https://www.ptt.cc/bbs/MIS/M.1442265413.A.598.html
threeus: rewrite without loop 09/15 06:09
cocobox: 如果沒看錯的話應該是刪掉install.php不是index.php 09/15 09:57
freeunixer: 刪掉 index.php 那是要開哪個網頁? 09/15 09:59
larukuryo: 網頁是寫install.php不是index.php 09/15 14:09
gra230434: 抱歉前輩 我眼殘了 謝謝大家 09/15 16:09