歡迎您光臨本站 註冊首頁

nagios map問題

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

nagios map問題

我安裝好nagios但是點擊map顯示的圖形是?號。 我想問下怎麼實現跟這張圖一樣



我默認安裝好的很難看請問是怎麼配置的
《解決方案》

問題解決附上解決辦法:
/usr/local/nagios/share/images/logos
icon_image: 可以使用GIF, PNG,或者是JPG文件,推薦圖像尺寸為40x40
icon_image_alt: 即為HTML語法中關於image元素的ALT屬性值
vrml_image: Nagios提供使用VRML語言繪製三維圖像功能,這裡不要使用透明圖片(PNG, GIF),最好使用JPG
statusmap_image: 提供給statusmap CGI腳本使用的圖片,伺服器要支持GD,這個文件的類型為gd2

define host{
        use                     linux-server,host-pnp
        statusmap_image         redhat.jpg    #變數對應著圖片就行了
        host_name               localhost
        alias                   localhost
        address                 127.0.0.1
        }
《解決方案》

支持樓主,論壇上就要這樣。:mrgreen:
《解決方案》

支持樓主,正在找怎麼整圖片
《解決方案》

本帖最後由 chenyx 於 2013-04-19 16:55 編輯

define host{
        use             linux-server ;
        host_name       Mail ;
        alias           Mail Server ;
        address         127.0.0.1 ;
       parents         GateWay
        icon_image      server.gif
        statusmap_image server.gd2
        2d_coords       300,300
        3d_coords       300,300,100
}

圖好看,需要在define裡面設置好parents,2d和3d的坐標

[火星人 ] nagios map問題已經有462次圍觀

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