Net-snmp for Windows

Source: Internet
Author: User

Net-snmp for Windows

The one that was originally carried by Windows is also very easy to use, but when the installation tutorial is added in "add or delete programs", there is always an error in copying files and the installation cannot be completed. Net-snmp, which is very popular in * nix, has a Windows version. It is a good alternative to SNMP that comes with the system. The installation and configuration process is as follows:

1. Download installation from here
, We will install net-snmp to I:/usr. You only need to modify the installation path during the installation process, and press enter from other places. 2. create a file snmpd in the I:/usr/etc/snmp directory. conf. The content is as follows: com2sec notconfiguser default publicgroup notconfiggroup V1 notconfigusergroup notconfiggroup v2c notconfiguserview systemview included. 1.3.6.1.2.1.1view systemview added. 1.3.6.1.2.1.25.1.1access notconfiggroup "" any noauth exact all none noneview all supported ded. 1 80 view mib2 supported ded .iso.org. DOD. internet. mgmt. fcmib-2 view all supported ded. 1 Note: This directory contains An SNMP. conf, do not confuse 3. configure Windows service to start a command window, change the working directory to I:/usr, and run I:/usr> bin/snmpd-vnet-SNMP Version: 5.5web: http://www.net-snmp.org/email: the net-snmp-coders@lists.sourceforge.net master file is normal, next to install it as a Windows Service, execute I:/usr> registeragent. batregistering snmpd as a service using the following additional options :. -Lf "I:/usr/log/snmpd. log ".. for information on running snmpd.exe and snmptrapd.exe as a windowsservice, see 'How to register the net-snmp agent and trap daemon aswindows services' in readme. win32 .. press any key to continue... i:/usr> the service is successfully registered. Start net-snmpi:/usr> Net start "net-snmp agent" net-snmp agent. I:/usr> we can see the process snmpd.exe in the Job Manager of windows. 4. test and check our results. Execute snmpwalk-V 1-C public-m all 127.0.0.1 in the command line window. The public key is equivalent to the snmd key. the com2sec notconfiguser default public in conf is consistent. If everything goes well, you will see a lot of data rolling. Next, we can use a monitoring program such as cacti to capture data and draw images. 5. References http://blog.chinaunix.net/u/249/showart_1415021.htmlhttp://blog.csdn.net/podded/archive/2007/12/19/1953929.aspx

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.