handlers for linux lvm operation

2005-10-26 Thread quhp
dear everyone, We have registered a new project in sourceforge and the URL is http://sourceforge.net/projects/lvm-mib It includes a set of Net-SNMP MIB handlers and corresponding SNMP MIB definition to Get/Set Linux LVM informations. The handlers were written by p

RE: auth type and private type in V3

2005-10-26 Thread Fong Tsui
OK, I figured out how to get Auth and Private type from persistent file. However I do have some questions about usmUser entry. 1) usmUser 1 3 0x87e580a02e931b7cfb5e43 0x6600 0x6600 NULL .1.3.6.1.6.3.10.1.1.2 0xfefa802d7734f26a4e42ff1b17140684 .1.3.6.1.6.3.10.1.2.2 0xfefa802d7734f26a4e

auth type and private type in V3

2005-10-26 Thread Fong Tsui
Is there a way to get information of AUTH type (MD5 or SHA) and Private type (DES) for a particular user from usmUser entry in persistent file? In other word, how can I know what type of AUTH and what type of Private the user is defined? Assume, I don't want to walk usmUserTable. Thanks, FT -

snmp bulk get performance

2005-10-26 Thread Haizhu Liu
Hi, I wrote an application that does snmpbulkget to different tables on one host synchonously. That takes a long time if the table is big. I saw on the website an asynchonouly application, but that kind of parallelize the queries to differnet hosts, but to each individual one, the queries are s

Re: Problems compiling 2 tables together

2005-10-26 Thread Dave Shield
Sorry for the delay in following up on this. I've just stumbled across this message again, and spotted a couple of things that look dangerous: > mobileAgentTable_get_first_data_point(void **my_loop_context, > void **my_data_context, >

Re: size of 5.2 snmpd in CVS seems wrong

2005-10-26 Thread [EMAIL PROTECTED]
> The difference in size is almost certainly due to dynamic vs > static libraries. Thank you. I was thrown by the file command reporting the exe as dynamically linked when, in fact, it was just 'crypto' and one or two others that were dynamically linked. Duh. Sorry for the noise. -

Re: Regarding SET requests

2005-10-26 Thread Wes Hardaker
> On Wed, 26 Oct 2005 12:26:21 +0530 (IST), madanagopal <[EMAIL PROTECTED]> > said: madanagopal> I think it is reasonable to expect that a SET request for madanagopal> one context not to block any SET request for some other madanagopal> context. Can this be made available by default? I d

Re: password in config file?

2005-10-26 Thread Wes Hardaker
> On Wed, 26 Oct 2005 11:13:14 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: >> 2) you can use localized keys instead of a password. This is only >> marginally better, but can be better none the less depending on the >> architecture of what you're doing (if you use the same localized

Re: UNSUBSCRIBE

2005-10-26 Thread Wes Hardaker
> On Wed, 26 Oct 2005 11:04:02 +0100, <[EMAIL PROTECTED]> said: netsnmp> Please cancel my subscription. When people need to unsubscribe, please see http://www.net-snmp.org/lists/ -- Wes Hardaker Sparta, Inc. --- This SF.Net email is spon

Re: trapsess configuration for v3

2005-10-26 Thread Wes Hardaker
> On 26 Oct 2005 16:41:39 +0530, Kandasamy <[EMAIL PROTECTED]> said: Kandasamy> I had tried "trapsess -Ci -v 3 -u myuser -a MD5 -A mypassword -l Kandasamy> authNoPriv localhost" by putting this line in snmpd.conf file. After Kandasamy> this when i restart my snmpd in the log file it say follow

Re: Persistance of TARGET and USER-BASED-SM mibs

2005-10-26 Thread Robert Iakobashvili
> void > init_usm_conf(const char *app) > { > > snmp_register_callback(SNMP_CALLBACK_LIBRARY, > SNMP_CALLBACK_STORE_DATA, > usm_store_users, NULL); > } > > > There's something similar in init_snmpTargetAddrEntry() as well. Y, I s

Re: Persistance of TARGET and USER-BASED-SM mibs

2005-10-26 Thread Dave Shield
On Wed, 2005-10-26 at 15:52 +0200, Robert Iakobashvili wrote: > Looking at the SNMP-TARGET-MIB and SNMP-USER-BASED-SM-MIB, > I do not see any persistance of the implementation, so that if a target > or a user is added it would remain after net-snmp restart. It's not clear whether you're referring

Persistance of TARGET and USER-BASED-SM mibs

2005-10-26 Thread Robert Iakobashvili
Hi, Looking at the SNMP-TARGET-MIB and SNMP-USER-BASED-SM-MIB, I do not see any persistance of the implementation, so that if a target or a user is added it would remain after net-snmp restart. Have I missed something? Is it the right direction for adding persistance is to add in the existing fu

Duplicate cache timers

2005-10-26 Thread Dave Shield
Robert, in the last day or so, I've started getting warning messages from snmpd (CVS MAIN): "cache has existing timer id." A bit of extra debugging code seems to indicate that this relates to the ifTable cache, and it turns out that this is being triggered by the initialisation o

trapsess configuration for v3

2005-10-26 Thread Kandasamy
Hi I have to configure V3 usename / passpharse to send v3 traps. I am using trapsess directive in snmpd.conf file. I had tried "trapsess -Ci -v 3 -u myuser -a MD5 -A mypassword -l authNoPriv localhost" by putting this line in snmpd.conf file. After this when i restart my snmpd i

UNSUBSCRIBE

2005-10-26 Thread netsnmp
Please cancel my subscription.   many thanks Ramin Nassiri

how to integrate mib modules?Thanks!

2005-10-26 Thread livia xie
Hello , friends   I define a MIB to manage my network devices and the MIB definition is too large that I want to divide it into several modules.  But I don't how to integrate these modules generated by mib2c together. If I compile my modules into shared object modules, can I do nothing but change t

Re: EtherLike-MIB implementation

2005-10-26 Thread Dave Shield
On Wed, 2005-10-26 at 11:27 +0200, Robert Iakobashvili wrote: > Does the code in cvs, or where can I look at it for gidelines? agent/mibgroup/if-mib It's been there for a couple of releases (though not included by default). I suspect the CVS code is probably somewhat more developed, but

Re: EtherLike-MIB implementation

2005-10-26 Thread Robert Iakobashvili
> It might also be worth studying Robert's new IF-MIB rewrite, > since I'd expect that the Ether-MIB might need to be fairly > closely coordinated with that. > > > Dave > Does the code in cvs, or where can I look at it for gidelines? Sincerely,

Re: password in config file?

2005-10-26 Thread Thomas Anders
Wes Hardaker wrote: 2) you can use localized keys instead of a password. This is only marginally better, but can be better none the less depending on the architecture of what you're doing (if you use the same localized key everywhere you don't get anything; you have to have truly dif

Re: EtherLike-MIB implementation

2005-10-26 Thread Dave Shield
On Wed, 2005-10-26 at 11:00 +0200, Robert Iakobashvili wrote: > Tentatively, yes. > I will do my best to add it within the schedule of our project > in a 4-5 months (sorry, but working for a corporate) That's fine - there's no rush. We're just getting ready to start on releasing the next major ve

Re: size of 5.2 snmpd in CVS seems wrong

2005-10-26 Thread Dave Shield
On Tue, 2005-10-25 at 18:32 -0400, John J. Reardon wrote: > I have a build of net-snmp refreshed from CVS on 10/20. I also have a > build of net-snmp-5.2.1.2. I have configured with the same exact > options and built in the same way. The problem is the CVS exe is > gigantic, while the 5.2.1.2 ex

Re: EtherLike-MIB implementation

2005-10-26 Thread Robert Iakobashvili
Hi Dave, Tentatively, yes. I will do my best to add it within the schedule of our project in a 4-5 months (sorry, but working for a corporate) and will convince my bosses to provide the patch back to net-snmp. Take care, Robert Iakobashvili On 10/26/05, Dave Shield <[EMAIL PROTECTED]> wrote: >

Re: EtherLike-MIB implementation

2005-10-26 Thread Dave Shield
On Wed, 2005-10-26 at 08:18 +0200, Robert Iakobashvili wrote: > Is it correct, that there is no net-snmp > implementation of EtherLike-MIB for linux? Quite correct. > Are there any plans to add it? If someone wishes to supply the code, sure! Are you volunteering? Dave -