→ mirc: 300多台的主機 不想花錢嗎?一堆軟體可以達到即時或是平均 06/20 17:42
推 kenwufederer: Zabbix 06/20 17:43
推 chang0206: librenms 或者用ansible之類的叫每一台回報 06/20 17:59
→ chang0206: 屌一點的用grafana+prometheus 06/20 17:59
→ junglecool: 請問一下我已經裝了librenms 並先監控了吧10台伺服器 06/21 12:07
→ junglecool: ,可是我只能從主控台分別進去每台裡面看他的cpu memo 06/21 12:07
→ junglecool: ry 使用率,找不到地方可以一次匯出這10台cpu memory 06/21 12:07
→ junglecool: 的地方,請問有人知道要從哪裡匯出嗎? 06/21 12:07
推 chang0206: hmmm 直接進DB去抓內容? 06/21 12:30
→ chang0206: 或者用snmpwalk去抓回來本機,整理成csv ? 06/21 12:31
→ junglecool: 感謝 想請教一下 06/21 14:08
→ junglecool: 1.請問要怎麼撈librenms 的MySQL 資料庫 ,有範例可以 06/21 14:08
→ junglecool: 參考嗎 06/21 14:08
→ junglecool: 2.用snmpwalk 抓是指用snmpwalk 抓librenms 的資料嗎 06/21 14:08
→ junglecool: ? 06/21 14:08
推 chang0206: 你架librenms的時候,應該有設定DB。用dbeaver之類的 06/21 14:09
→ chang0206: 工具去抓資料庫的table內容。snmpwalk是從你的電腦直接 06/21 14:10
→ chang0206: 對你要抓資料的伺服器下,可以指定OID 就可以只抓你想 06/21 14:11
→ chang0206: 要的數據 06/21 14:11
→ fourdollars: 去用 ansible 吧~ 06/23 15:39
→ junglecool: 我有在用ansible 可是我不知道要下什麼指令可以撈出每 06/23 18:47
→ junglecool: 一台 cpu memory disk 的使用率 06/23 18:47
→ fourdollars: 買本 Ansible 的書來看吧? 06/24 17:14
推 chang0206: zabbix 可以作到原PO想要的 不過似乎要有agent 06/25 10:11
→ charleshu: 寫一個小程式,依序 SSH 進每一台機器抓 /proc 裡面的 06/26 16:32
→ charleshu: 資料,然後建報表就可以了 06/26 16:32
→ bamchisu: 用zabbix去裝agent就好,你的要求不需要寫script 07/19 23:13
→ bamchisu: 才300台不用用到prometheus 07/19 23:13
→ bamchisu: 另外,zabbix免費 07/19 23:14
→ bamchisu: 要裝zabbix-agent可以寫script或是用ansible裝 07/19 23:14
→ bamchisu: 這種需求如果都要寫scipt去做,以後做到死... 07/19 23:16
→ bamchisu: 不想裝agent的話用snmp吧,這東西zabbix不用snmp也可以 07/19 23:18
→ bamchisu: 用snmp也可以 07/19 23:18