點擊返回:自學Zabbix之路html
點擊返回:自學Zabbix4.0之路網絡
點擊返回:自學zabbix集錦運維
03 Zabbix4.0添加cisco交換機基本監控步驟
主題監控一臺cisco網絡設備的6項內容:post
- Device name 交換機設備名稱;
- Device uptime 交換機設備運行時間;
- Host name 交換機設備命名;
- Numberi of input datagrams 交換機接收數據包;
- Numberi of output datagrams 交換機發送數據包;
- Operating System description 交換機的描述
1、在ZABBIX系統上面配置
1. 建立一個Host grops
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
2. 建立一個Host
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3. 建立一個Templates:CARLOS_Template SNMP for Cisco Generic
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3.1 建立Item監控項
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3.1.1 建立Device nameurl
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3.1.2 建立Device uptimespa
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3.1.3 建立Device uptime3d
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3.1.4 建立 Number of input datagramsserver
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3.1.5 建立 Number of output datagramshtm
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3.1.6 建立 Operating System descriptionblog
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3.2 建立Triggers觸發器
主要是sysUpTime的值來判斷交換機是否在線, 若離線觸發告警,可發短信或郵件通知運維人員。
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
3.3 建立Graphs
主要是提取ipInReceives/ipOutRequests的值來繪圖,讓運維人員更清楚流量。
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
4. 將主機和模板相關聯
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
2、在被監控的網絡設備上面配置
- 配置共同體snmp-server community carlostest RO
- 配置互通性(zabbix系統和被監控網絡設備) 主要就是開放ACL
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)