ChinaUnix.net
相关文章推荐:

python netsnmp

Some Links/Documents/Books of Snmp/netsnmp... netsnmp site: http://www.net-snmp.com/ SoureForge download link: http://sourceforge.net/project/showfiles.php?group_id=12694 Mail List/Group: http://sourceforge.net/mail/?group_id=12694 http://groups.google.com/group/mailing.unix.net-snmp-coders/ Other useful links: http://www.snmpweb.org/ http://www.snmplink.org/ http://www.mibdepot.com/ Books: OReill...

by tooj - 网络技术文档中心 - 2005-09-16 08:35:22 阅读(910) 回复(0)

相关讨论

netsnmp 安装与配置 net-snmp installation and configuration Recently I spent much time to learn SNMP to try to setup a snmp server for the developers. The following is the steps of installation and configuration of net-snmp, a popular and open source snmp server and agent . DOWNLOAD AND INSTALL 1.download the source. http://sourceforge.net/projects/net-snmp or the official web: http://www.ne...

by xinly_chen - Linux文档专区 - 2009-07-30 14:57:29 阅读(1177) 回复(0)

我已经搜过论坛了,几乎找不到可以参考的资料。 我尝试用 netsnmp::agent 模块来收集一些 lvs 的信息。然后让 cacti 通过 snmp 抓取。 按照 man snmpd.conf , 以及 netsnmp::agent 的资料 我做了最简单的尝试。 创建一个 perl 脚本: use Data::Dumper; use netsnmp::agent (':all'); use netsnmp::ASN qw(ASN_OCTET_STR); sub myroutine { print "abcd\n"; } $agent->register('mylink', '.1.3.6.1.4.1.8225.4712', \&myrout...

by latteye - Perl - 2008-12-08 12:08:04 阅读(6454) 回复(23)

网上相关的文章太少,我把我东拼西凑的代码贴出来,供查阅。此函数已在solaris上测试,用的是netsnmp编译生成的库 int send_trap(char* TrapDescription) { oid SAN_trap_oid[] = { 1,3,6,1,4,1,19991,2,1,1,1}; int TrapType = SNMP_TRAP_ENTERPRISESPECIFIC; netsnmp_session session; snmp_sess_init(&session); netsnmp_ds_set_int(netsnmp_DS_LIBRARY_ID, netsnmp_DS_LIB_DEFAULT_PORT, SNMP_TRAP...

by hust_mylong - 网络技术 - 2012-02-20 13:04:43 阅读(3754) 回复(1)

网上相关的文章太少,我把我东拼西凑的代码贴出来,供查阅。此函数已在solaris上测试,用的是netsnmp编译生成的库\r\nint send_trap(char* TrapDescription)\r\n{\r\n oid SAN_trap_oid[] = { 1,3,6,1,4,1,19991,2,1,1,1};\r\n int TrapType = SNMP_TRAP_ENTERPRISESPECIFIC; \r\n\r\n \r\n netsnmp_session session;\r\n snmp_sess_init(&session);\r\n netsnmp_ds_set_int(netsnmp_DS_LIBRARY_ID, netsnmp_DS_...

by hust_mylong - 企业网管技术交流区 - 2007-11-29 14:17:56 阅读(4030) 回复(0)

Dear sirs: I have downloaded the netsnmp installation package from your website: http://aixpdslib.seas.ucla.edu/packages/net-snmp.html Our AIX version is 5.2 and with default snmp. it works fine. I have downloaded the correspond package(both source and binary) and install to my AIX5.2 system. It is success with no error. But when I stop the AIX default snmp and try to start the netsnmp. I get ...

by tooj - AIX - 2005-09-08 10:57:03 阅读(1265) 回复(1)

大蟹们,好呀 最近工作可顺利呀! 小弟就不太好了 最近刚刚开始接触solairs 下载了一个netsnmp.tar for solairs (SUN-FIRE480),tar完后不知道 /data/netsnmp/etc下的snmpd.conf应该怎么设置;solairs主机里又应该改 那些东西,小弟请教(或那里有详细的配置文档呀)

by whitecup_1979 - Solaris - 2005-03-26 15:57:31 阅读(1103) 回复(4)

大蟹们,好呀 最近工作可顺利呀!\r\n\r\n小弟就不太好了\r\n\r\n最近刚刚开始接触solairs\r\n\r\n下载了一个netsnmp.tar for solairs (SUN-FIRE480),tar完后不知道\r\n\r\n/data/netsnmp/etc下的snmpd.conf应该怎么设置;solairs主机里又应该改\r\n\r\n那些东西,小弟请教(或那里有详细的配置文档呀)

by whitecup_1979 - Solaris - 2005-03-26 15:57:31 阅读(2900) 回复(3)

fedora下安装netsnmp?怎么没有OID参数 root@mail root]# snmpwalk -v 1 localhost -c public system Expected label or number (EOF): At line 821 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Bad object identifier: At line 821 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Bad parse of OBJECT-TYPE: At line 821 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Did not find 'hrMIBAdminInfo' in module HOST-R...

by lix1216 - 服务器应用 - 2008-07-05 23:15:31 阅读(2242) 回复(1)

小弟最近在solaris9 上面准备安装netsnmp,因为s9自带的snmpagent用起来不太方便 但是我按照网上的一个安装教程进行安装,先安装 gcc_small-3.3.2-sol9-sparc-local.gz openssl-0.9.7d-sol9-sparc-local.gz 后,然后安装 netsnmp-5.1.1-sol9-sparc-local.gz 随后停掉s9自带的snmp cd /etc/rc3.d ./S76snmpdx stop ./S77dmi stop 随后编写了启动脚本 (其实脚本就是启动 /usr/local/sbin/snmpd 这个东东 ) 但是我在执行...

by zjyilwt - Solaris - 2008-01-30 20:59:25 阅读(1207) 回复(0)