mysql snmp agent_net-snmp agent c开发.docx

net-snmp agent c开发

Net-snmp 使用c扩展 agent摘要:netSNMP开发,使用c开发对SNMP进行扩展,应用程序作为agent执行。官网:版本:NET-SNMP version 系统:CentOS X64软件包:net-snmp-.tar.gz解压安装包:[root@localhost snmp]# pwd/root/snmp[root@localhost snmp]# lsnet-snmp-.tar.gz[root@localhost snmp]# tar xzvf net-snmp-.tar.gz[root@localhost snmp]# lsnet-snmp- net-snmp-.tar.gz配置[root@localhost snmp]# cd net-snmp-[root@localhost net-snmp-]# pwd/root/snmp/net-snmp-[root@localhost net-snmp-]# ./configure配置完成后,会显示如下configure摘要信息 Net-SNMP configuration summary: SNMP Versions Supported: 1 2c 3 Building for: linux Net-SNMP Version: Network transport support: Callback Unix Alias TCP UDP IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase SNMPv3 Security Modules: usm Agent MIB code: default_modules => snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host MYSQL Trap Logging: unavailable Embedded Perl support: enabled SNMP Perl modules: building -- embeddable SNMP Python modules: disabled Crypto support from: crypto Authentication support: MD5 SHA1 Encryption support: DES AES Local DNSSEC validation: disabled编译、安装 make && make install配置snmpd.conf[root@localhost snmp]# pwd/usr/local/share/snmp[root@localhost snmp]# snmpconf The following installed configuration files were found: 1: ./snmpd.conf 2: ./snmptrapd.conf 3: /usr/local/share/snmp/snmpd.conf 4: /usr/local/share/snmp/snmptrapd.confWould you like me to read them in? Their content will be merged with theoutput files created by this session.Valid answer examples: "all", "none","3","1,2,5"Read in which (default = all): noneI can create the following types of configuration files for you.Select the file type you wish to create:(you can create more than one as you run this program) 1: snmpd.conf 2: snmptrapd.conf 3: snmp.confOther options: quitSelect File: 1The configuration information which

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值