1. 程式人生 > >Cacti監控Cisco CPU 以及內存

Cacti監控Cisco CPU 以及內存

processes erp avg log image real all mage ima

有三個值。分別是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監控Cisco CPU 以及內存