Re: Query Regarding Implementation of MIB Modules for IGMP and PIM-SM
2009/12/10 Mohd Arif mohd.a...@nechclst.in: mib2c will help to provide a C framework by converting .mib files into C files. But I think we need to do some implementations within that framework. That's exactly right. The mib2c script will generate a code framework, set up for returning values for the various objects within the given MIB. But it cannot know *what* information should be returned - that's up to the implementer to provide. So yes - you need to take the output of mib2c, and fill in the missing blanks. Dave -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Can snmp support nested tables?
Can anybody tell me whether snmp support nested tables?if so,give me some hints or links, TIA Alex-- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: Query Regarding Implementation of MIB Modules for IGMP and PIM-SM
Hi, Thank you very much for the confirmation and support. Can you give me some more insight that what kind of implementation needs to be done. I mean the implementation is PIM-SM software package dependent or not? Look forward for your suggestions. Best Regards, Mohd. Arif -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, December 10, 2009 1:42 PM To: Mohd Arif Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Query Regarding Implementation of MIB Modules for IGMP and PIM-SM 2009/12/10 Mohd Arif mohd.a...@nechclst.in: mib2c will help to provide a C framework by converting .mib files into C files. But I think we need to do some implementations within that framework. That's exactly right. The mib2c script will generate a code framework, set up for returning values for the various objects within the given MIB. But it cannot know *what* information should be returned - that's up to the implementer to provide. So yes - you need to take the output of mib2c, and fill in the missing blanks. Dave DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or NECHCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of NECHCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. . --- -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Can snmp support nested tables?
2009/12/10 飞飞 chenyapu1...@qq.com: Can anybody tell me whether snmp support nested tables? No - this is invalid SMI structure. You need to use shared indexes and parallel tables. Have a look at the Disk and Partition tables (in the Host Resources MIB) for an example. Dave [Note that the above text is cut-n-pasted from one of the top three results of a Google search on SNMP nested tables Did you actually bother trying to find this out for yourself before asking here? ] -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Can snmp support nested tables?
2009/12/10 飞飞 chenyapu1...@qq.com Can anybody tell me whether snmp support nested tables?if so,give me some hints or links, A quote from the excellent book *Understanding SNMP MIBs* (page 277): *The SNMP SMI does not allow a MIB writer to state that an object in a table is an array (an ASN.1 sequence). This restriction, known as no table in a table in the SNMP community, is a frequent source of frustration for beginning SNMP MIB designers. * Bart. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: vacm_getAccessEntry() doesn't look for best match
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Tuesday, December 08, 2009 10:14 AM To: Lewis Adam-VNQM87 Cc: net-snmp-users@lists.sourceforge.net Subject: Re: vacm_getAccessEntry() doesn't look for best match 2009/12/7 Lewis Adam-VNQM87 vnq...@motorola.com: Looking at version 5.5 of the net-snmp suite ... in snmplib\vacm.c, the function vacm_getAccessEntry() just gets the first entry that matches the search criteria rather than search for the one with the highest securityLevel. Am I missing something or is this just a to-be-done? No - I think you've spotted a bug. Note that it's not just a matter of choosing the highest securityLevel - there's a whole set of priority decisions defined in RFC 3415 that the code is not currently applying. Please try the attached patch, and see whether this leads to the expected behaviour Hi Dave, many thanks for responding so quickly - apologies for not doing likewise. I have tested the patch and it works fine. Of course you are right that it is not just about security levels although in our configuration, we are less concerned about context prefixes. One thing I was curious about is that if the example (recommended?) default configuration given in the RFCs specifies an initial user with what is effectively a read-write internet view and a read-only restricted view, why hasn't this problem been spotted before? As far as I can tell, if someone tried to use this configuration, they would find they could not do any SNMP SETs. Regards, Adam. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: How to install net-snmp in quiet mode on windows server?
Hi Mike Ayers, Thanks for help. I want install net-snmp at command mode, now I've known the /S for quiet mode, and I want choice these components: 1. with windows Extension DLL support 2. development files Can you tell me how to select these components in the installation at command mode? Yours Sailer 2009/12/10 Mike Ayers mike_ay...@tvworks.com: From: sailer shen [mailto:sailer.s...@gmail.com] Sent: Tuesday, December 08, 2009 6:41 PM I want run net-snmp-5.5.0-1.x86.exe in automatic and quiet mode onwindows 2003 server, and select some components automatically, how can I do it? Please explain automatic and quiet mode. Which components are you referring to? Thanks, Mike -- 沈涛运营中心开发支持部 === 上海暴雨信息科技有限公司(Shanghai Storm Information Technology,Co., Ltd.) === 上海市番禺路1028号上海数娱大厦510室 邮编:200030 传真:64475239 手机:15301667832 email:shen...@shstorm.com -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: 回复: Can snmp support nested tables?
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2009/12/10 飞飞 chenyapu1...@qq.com: I decide to promote the potential sub-table as the second table to the up-level entry.does it has the same function as the sub-table doed(if it does)? I'm sorry - I don't understand what you are talking about here. Rather than discussing the detailed structure of the MIB tables, why don't you describe whatever it is that you are trying to model here. The structure of a MIB should always be driven by the underlying information that it represents. Without knowing about this, it's impossible to provide sensible advice. Dave -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: problem configuring foundry load balancer using snmpset
From: Raj Gurung [mailto:r...@evryx.com] Sent: Wednesday, December 09, 2009 2:32 PM I tried providing enable password in snmpget command and also with no ^^^ ||| You mean snmpset, right? Otherwise, I've found your problem... snmp-server pw-check enabled on Load Balancer. Uploading the configuration to tftp worked for both. But, no joy still with the load balancer (real server) add/modify. It can be tough to work through these things sometimes. The web page you pointed to is very helpful, though, and strongly suggests you should be able to manage through SNMP. Try this: $ snmpset -v1 -c rwcommunity 10.10.10.253 . snL4RealServerRowStatus.1 i notInService snAgGblPassword.0 s my-password $ snmpset -v1 -c rwcommunity 10.10.10.253 . snL4RealServerName.1 s my-new-server-name snL4RealServerRowStatus.1 i active snAgGblPassword.0 s my-password HTH, Mike -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Forwarding traps with snmptrapd
Hello, Full disclosure: I'm something of an snmptrapd newb. I'd like to configure snmptrapd to forward traps incoming from several different ports along to some monitoring software I have running on a private network. The port forwarding part's easy, but the snmptrapd configuration has eluded me so far. Any help would be great, thanks! Best, Ian -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: problem configuring foundry load balancer using snmpset
On Dec 10, 2009, at 10:36 AM, Mike Ayers wrote: From: Raj Gurung [mailto:r...@evryx.com] Sent: Wednesday, December 09, 2009 2:32 PM I tried providing enable password in snmpget command and also with no ^^^ ||| You mean snmpset, right? Otherwise, I've found your problem... Yes I meant snmpset. Sorry *typo*. snmp-server pw-check enabled on Load Balancer. Uploading the configuration to tftp worked for both. But, no joy still with the load balancer (real server) add/modify. It can be tough to work through these things sometimes. The web page you pointed to is very helpful, though, and strongly suggests you should be able to manage through SNMP. Try this: $ snmpset -v1 -c rwcommunity 10.10.10.253 . snL4RealServerRowStatus.1 i notInService snAgGblPassword.0 s my-password $ snmpset -v1 -c rwcommunity 10.10.10.253 . snL4RealServerName.1 s my-new-server-name snL4RealServerRowStatus.1 i active snAgGblPassword.0 s my-password Foundry didnt like notInService(2) value for snL4RealServerRowStatus.Found that foundry snL4RealServerRowStatus value mappings for row creation/modification/deletion as [modify(3), create(4), delete (5)]. And it worked. creating a real server row #snmpset -v2c -c rwcommunity 10.10.10.253 snL4RealServerRowStatus.4 i create snL4RealServerMaxConnections.4 i 100 snL4RealServerName.4 s four snL4RealServerIP.4 a 1.1.1.4 modifying a real server row #snmpset -v2c -c rwcommunity 10.10.10.253 snL4RealServerRowStatus.4 i modify snL4RealServerMaxConnections.4 i 100 deleting a real server (row) #snmpset -v2c -c rwcommunity 10.10.10.253 snL4RealServerRowStatus.4 i delete snL4RealServerName.4 s four HTH, Mike Thanks a lot. Your suggestion to http://www.ietf.org/rfc/rfc2579.txt was really helpful. I really appreciate it. -raj -- sysAdmin Evryx Technologies, Inc. 412 W. Broadway, Suite 201 | Glendale, CA 91204 T: +1.818.552.3568 F: +1.818.552.3587 C: +1 818.720.9504 www.linkmemobile.com -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: problem configuring foundry load balancer using snmpset
From: Raj Gurung [mailto:r...@evryx.com] Sent: Thursday, December 10, 2009 2:23 PM Foundry didnt like notInService(2) value for snL4RealServerRowStatus.Found that foundry snL4RealServerRowStatus value mappings for row creation/modification/deletion as [modify(3), create(4), delete (5)]. And it worked. Just so I'm clear - you are up and running? You must delete the rows to reconfigure the device, correct? Thanks, Mike -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: problem configuring foundry load balancer using snmpset
On Dec 10, 2009, at 2:45 PM, Mike Ayers wrote: From: Raj Gurung [mailto:r...@evryx.com] Sent: Thursday, December 10, 2009 2:23 PM Foundry didnt like notInService(2) value for snL4RealServerRowStatus.Found that foundry snL4RealServerRowStatus value mappings for row creation/modification/deletion as [modify(3), create(4), delete (5)]. And it worked. Just so I'm clear - you are up and running? I am able to add/delete real servers. I haven't tried adding ports and other configurations yet. But i am optimistic. You must delete the rows to reconfigure the device, correct? Not necessarily. It seems we can modify/reconfigure by changing the state of RowStatus to 4 [modify(4) from foundry MIB]. eg. #snmpset -v2c -c rwcommunity 10.10.10.253 snL4RealServerRowStatus.4 i modify snL4RealServerMaxConnections.4 i 100 Thanks, Mike Thanks, raj -- sysAdmin Evryx Technologies, Inc. 412 W. Broadway, Suite 201 | Glendale, CA 91204 T: +1.818.552.3568 F: +1.818.552.3587 C: +1 818.720.9504 www.linkmemobile.com -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
回复: 回复: Can snmp support nested tables?
Sorry,that mail I fogot to CC to the list.pls mail it to Mike,thank you !:0) YES,I want to get some models for modelling,Here is my problem. portal bonding_mode descriptor: this is a table. components bytes type range unit description ---the entries of the table ge1_des 16 struct ge_descriptor see below 1byte ge1 descriptor ge2_des 16 struct ge_descriptor see below 1byte ge2 descriptor ge3_des 16 struct ge_descriptor see below 1byte ge3 descriptor ge4_des 16 struct ge_descriptor see below 1byte ge4 descriptor ge5_des 16 struct ge_descriptor see below 1byte ge5 descriptor ge6_des 16 struct ge_descriptor see below 1byte ge6 descriptor ge7_des 16 struct ge_descriptor see below 1byte ge7 descriptor ge8_des 16 struct ge_descriptor see below 1byte ge8 descriptor bond1_des 16 struct bond_descriptor see below 1byte bond1 descriptor bond2_des 16 struct bond_descriptor see below 1byte bond2 descriptor bond3_des 16 struct bond_descriptor see below 1byte bond3 descriptor bond4_des 16 struct bond_descriptor see below 1byte bond4 descriptor The struct of geN_descriptor : --the struct of the table's entry component bytes type range unit description ip 4 uint8[4] 0~255.0~255.0~255.0~255 1byte ip address gateway 4 uint8[4] 0~255.0~255.0~255.0~255 1byte gateway netmask 4 uint8[4] 0~255.0~255.0~255.0~255 1byte netmask The struct of bondN_descriptor : component bytes type range unit description ip 4 uint8[4] 0~255.0~255.0~255.0~255 1byte ip address gateway 4 uint8[4] 0~255.0~255.0~255.0~255 1byte gateway netmask 4 uint8[4] 0~255.0~255.0~255.0~255 1byte netmask So,My problem is whether the net-snmp MIB table support the composite structure,especially,we want to the table's entry is a struct or another table,How can I deal with this requirement?This is what I call it promote the potential sub-table as the second table to of the up-level,this is my tough situation,this where main-table,parallel table processing VS main-table,sub-table(nested table) processing come from. Thank you Dave,You help me a lot! Alex -- 原始邮件 -- 发件人: Dave Shieldd.t.shi...@liverpool.ac.uk; 发送时间: 2009年12月10日(星期四) 晚上7:30 收件人: 飞飞chenyapu1...@qq.com; 抄送: net-snmp-usersnet-snmp-users@lists.sourceforge.net; 主题: Re: 回复: Can snmp support nested tables? [ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2009/12/10 飞飞 chenyapu1...@qq.com: I decide to promote the potential sub-table as the second table to the up-level entry.does it has the same function as the sub-table doed(if it does)? I'm sorry - I don't understand what you are talking about here. Rather than discussing the detailed structure of the MIB tables, why don't you describe whatever it is that you are trying to model here. The structure of a MIB should always be driven by the underlying information that it represents. Without knowing about this, it's impossible to provide sensible advice. Dave-- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users