How to extract the device OID and add to cacti mapping! Get a full set!

Source: Internet
Author: User
Tags snmpwalk



First we look for oid! This thing to Baidu or manufacturers to find, such as  to find a MIB reference



650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m01/5b/fa/wkiom1uydjgjq-uwaaucafbh2zo132.jpg "title=" qq picture 2015032921.png "alt=" Wkiom1uydjgjq-uwaaucafbh2zo132.jpg "/>



First you need to find the approximate category 1 (slowly turn, slowly look!) is still a little hard to find). 2 is the OID prefix you need, and 3 is the CPU suffix we need to find is 5.



So the OID of the device is 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5 good first step completed.



Then use the Snmpwalk software to enter the command



Snmpwalk-v2c-c Public x.x.x.x 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5



Version-v2c string Public (written on its own device) x.x.x.x (device IP) followed by OID






650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/5B/FA/wKiom1UYD4Gi4siyAAJspad-vg0179.jpg "title=" QQ picture 20150329224259.png "alt=" Wkiom1uyd4gi4siyaajspad-vg0179.jpg "/>



The last number 10 is obtained by the OID 0 means no value is not the same because there are a lot of cards, you can do it together, look at you.






1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5.17104897 This is the second OID found to read the value.



Next! Cacti the map! My English is very poor so Chinese version ~ Forgive me.



Control Panel-template-Data template, click Add 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M02/5B/F4/wKioL1UYEwHC3TXgAALF_ U15wbm275.jpg "title=" 11212412431.png "alt=" Wkiol1uyewhc3txgaalf_u15wbm275.jpg "/>






The names are self-researched, like they can be named after |host_description|–cpu came out and became the device name-CPU.



Input method write get SNMP data



Click Add will appear the following options and then fill in the OID, the data is done below we need to do a graphical template reading data, go!



650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5B/F4/wKioL1UYE4uQxP53AAEF5e-_YyI368.jpg "title=" QQ picture 20150329225051.png "alt=" Wkiol1uye4uqxp53aaef5e-_yyi368.jpg "/>






Control Panel-Templates-Graphics templates Click Add



650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5B/F4/wKioL1UYE92hclcFAADMQQaQ5wI908.jpg "title=" QQ picture 20150329225150.png "alt=" Wkiol1uye92hclcfaadmqqaq5wi908.jpg "/>






Then save it, and then it's the next step.



Do as you like!



650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5B/FA/wKiom1UYE7GBs57EAAQodgAbFOE138.jpg "title=" 20150329230023.png "alt=" wkiom1uye7gbs57eaaqodgabfoe138.jpg "/> Add four ha.



Cacti to write very sloppy, you can not understand on their own Baidu under! A lot of hahaha, where to write the wrong to tell the next yo



650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/5B/FA/wKiom1UYFEeRaMB_AAGfNqbZA-k391.jpg "title=" Qq20150329230321.png "alt=" Wkiom1uyfeeramb_aagfnqbza-k391.jpg "/>






Can also be made such ~ self-pull!



Well finished, everyone has good things to be selfless sharing yo!



mib:http://pan.baidu.com/s/1i39t00l



Cacti:www.cnyunwei.com



Snmpwalk: Baidu



This article is from the "Big fat Pot Technical microblogging" blog, please be sure to keep this source http://greenfact.blog.51cto.com/2249621/1626264



How to extract the device OID and add to cacti mapping! Get a full set!


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.