娟斌心 发表于 2019-1-10 13:02:01

cacti的简单讲解1

  1.前言讲解
http://5645432.blog.运维网.com/attachment/201306/24/5635432_137206263298TB.png
  RRDtool (Round Robin Database Tool)就是一个强大的绘图的引擎,很多工具例如MRTG都可以调用rrdtool绘图。
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062635iWD4.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062651DfC2.png http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062657Bq0X.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062665IIY9.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062670063M.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062674UAsY.png
  名称与oid (o为object 一个.为一个对象)的对应关系放在MIB库里。
  例子:
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062685hHjp.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062687d5pC.png
  2.开虚拟机,安装snmp
  配yum
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062688KMxl.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062688E2FQ.png
  挂光驱。
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062689zy7J.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062691JL0V.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062692aESy.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062693tvaB.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062693FGml.png
  查看里面会用到的命令工具。
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062695fJRh.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062695Cbv4.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062695keov.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062698HZVQ.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062699AxHf.png
  3.例子:本机监控本机(即nms和agent在一台机器上)
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062699mdPt.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062700xr9V.pnghttp://5645432.blog.运维网.com/attachment/201306/24/5635432_137206270534Iw.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062705kxbH.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062707WzKl.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062709CjB1.png
  发现好多的mib库,刚才用snmpwalk交谈时,才发现一点点,这取决于agent,要agent开放才能看到,不开放,系统有,也不能看到。
  开放在这里:
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062710Anie.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062710DZmu.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062714ZGOl.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062720AVwu.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062729MkzT.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062739YdtQ.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062749a1Tx.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_13720627590703.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062768BKNL.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062779q0RA.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062787Us3G.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062796K6LZ.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062804jkXK.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062813PqBM.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062822hZbE.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062828OW23.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062833kjLz.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062839y8db.png
http://5645432.blog.运维网.com/attachment/201306/24/5635432_1372062844j8pu.png
  MSN 邮件 飞信



页: [1]
查看完整版本: cacti的简单讲解1