cacti 監控非默認埠 memcached 問題
用命令行測試 都可以正確返回信息
# /var/www/cacti/scripts/memcached.py -p 28211 192.168.11.11
total_items:1120802 get_hits:26736309 uptime:16892 cmd_get:27341097 time:1264431448 bytes:226591100 curr_connections:32 connection_structures:43 bytes_written:13041870290 limit_maxbytes:2147483648 cmd_set:1120802 curr_items:502714 rusage_user:40.948774 get_misses:604788 rusage_system:67.973666 bytes_read:1697230601 total_connections:1545
# /var/www/cacti/scripts/memcached.py 192.168.11.11-28211
total_items:1121110 get_hits:26742178 uptime:16896 cmd_get:27347027 time:1264431452 bytes:226613964 curr_connections:32 connection_structures:43 bytes_written:13044763451 limit_maxbytes:2147483648 cmd_set:1121110 curr_items:502766 rusage_user:40.961772 get_misses:604849 rusage_system:67.987664 bytes_read:1697666145 total_connections:1546
可是我在添加device 的時候
在hostname 一欄
填入
192.168.11.11-28211
為什麼總是顯示snmp error呢?
11.11的CPU 啊 內存啊 啥的 都已經通過SNMP方式正確出圖了。
大家 怎麼監控一台機器跑幾個memcached 的?
在線等大蝦們的 幫助!!
《解決方案》
本帖最後由 mingming_song 於 2013-12-09 09:53 編輯
我也求這個需求,樓主有解決了么
已解決了,一看時間我就震驚了。。。