歡迎您光臨本站 註冊首頁

Smokeping顯示不了圖

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

Smokeping顯示不了圖

大家好,Smokeping配置好后,服務可以啟動,通過網頁也可以打開,但是顯示不了圖片,總是顯示一個小紅叉。按照圖片的屬性路徑,可以找到此圖片。請問是哪兒配置的有問題?謝謝。
《解決方案》

已經好了,配置文件中圖片的路徑寫多了。
謝謝。
《解決方案》

我的現在也是您一樣的問題
《解決方案》

flyibm 發表於 2012-11-06 10:44 static/image/common/back.gif
已經好了,配置文件中圖片的路徑寫多了。
謝謝。

感謝分享答案
《解決方案》

你的smokeping所使用的 config 文件裡面有一個cache 的配置,這個配置要寫相對路徑,默認是cache ,千萬別改成絕對路徑,改成絕對路徑就會出現你說的問題,網頁能顯示,但是圖片不顯示。
《解決方案》

你的config 能貼出來么   我是有圖  沒有數據回復 5# tingshow163


   
《解決方案》

回復 6# 王曉兜


owner    = Peter Random
contact  = some@address.nowhere
mailhost = my.mail.host
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /opt/nginx/html/smokeping/cache
imgurl   = cache
datadir  = /opt/nginx/html/smokeping/data
piddir  = /opt/nginx/html/smokeping/var
cgiurl   = http://some.url/smokeping.cgi
smokemail = /opt/smokeping/etc/smokemail.dist
tmail = /opt/smokeping/etc/tmail.dist
# specify this to get syslog logging
#syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no

   

[火星人 ] Smokeping顯示不了圖已經有1260次圍觀

http://coctec.com/docs/service/show-post-171.html