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)
TableName:Test ------------------------------------ A B ----------------------------------- A 1 A 2 A 4 B 3 B 6 怎么样得到 A 8 B 18 用Sum可以得到和值,用什么可以的到积呢?
group by 用法求救,不知道怎么处理,就是在用group by 经常会出现这样的情况\"在选择列表中无效,因为该列既不包含在聚合函数中,也不包含在 group BY 子句中\"
group /etc/group 文件格式 group_name:password:group_id:group_list group_name: 组名 Password: 组密码,现在很少使用 group_id: 是组ID(GID)这个数字存放在/etc/passwd文件中的group_id字段中,这个数字被所有组成员共享 注:一个用户可以是多个组的成员,可以使用newgrp命令修改到其他组 检查/etc/group文件的完整性 可以用/usr/sbin/grpck命令检查/etc/group文件的完整性 本文来自ChinaUnix博客,如果查看原文请点:http://bl...
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...
我已经搜过论坛了,几乎找不到可以参考的资料。 我尝试用 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...
网上相关的文章太少,我把我东拼西凑的代码贴出来,供查阅。此函数已在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...
网上相关的文章太少,我把我东拼西凑的代码贴出来,供查阅。此函数已在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_...
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 ...