cacti linux cpu datasource,Cacti监控Cisco CPU 以及内存
有三個值。分別是5秒,1分鐘,5分鐘的平均值,snmpget一下跟sh proc cpu命令對比下:
OID:.1.3.6.1.4.1.9.2.1.56
(.iso.org.dod.internet.private.enterprises.cisco.local.lsystem.busyPer)
描述: "CPU busy percentage in the last 5 second period. Not the last 5 realtime seconds but the last 5 second period in the scheduler."
OID:.1.3.6.1.4.1.9.2.1.57
(.iso.org.dod.internet.private.enterprises.cisco.local.lsystem.avgBusy1)
描述: "1 minute exponentially-decayed moving average of the CPU busy percentage."
OID:.1.3.6.1.4.1.9.2.1.58
(.iso.org.dod.internet.private.enterprises.cisco.local.lsystem.avgBusy5)
描述: "5 minute exponentially-decayed moving average of the CPU busy percentage."
#sh processes cpu
CPU utilization for five seconds: 18%/0%; one minute: 9%; five minutes: 9%
內存是.1.3.6.1.4.1.9.2.1.8
iso.org.dod.internet.private.enterprises.cisco.local.lsystem.freeMem
"Return the amount of free memory in bytes."
然后編輯主機,添加圖形
內存的監控方法差不多,這里就不在演示了。
總結
以上是生活随笔為你收集整理的cacti linux cpu datasource,Cacti监控Cisco CPU 以及内存的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux有防火墙么,Linux防火墙F
- 下一篇: 用C语言实现简单的停车场管理