Re: CVS: net-snmp/snmplib snmp_api.c,5.105

2006-08-08 Thread Robert Story
On Tue, 25 Jul 2006 01:31:58 -0700 Dave wrote: DS> Modified Files: DS> snmp_api.c DS> Log Message: DS> Remove broken assertion (Bug #1399370) Actually, I'd rather it stay, unless it's actually causing problems. Bad asn builds really really shouldn't happen, and iirc, there is no useful error

I need some Sun temperature,voltage and fan sensor code tested

2006-08-08 Thread Bruce Shaw
I am trying to finalize code for usage of the LM-SENSORS-MIB with Sun Ultra hardware. The problem is that Sun has several different ways of reporting sensor information (eg. kstat, picld) and I don't have enough different pieces of hardware to test absolutely everything. The following code FINALL

Net-SNMP 5.2.1, disable snmpEnableAuthenTraps does not work

2006-08-08 Thread Emi . Yanagi
Dear net-snmp-coders, I am using Net-SNMP 5.2.1. It seems disable snmpEnableAuthenTraps does not work. Please see the report below, even if I set it to "disable(2)", authenticationFailure notifications are still generated regardless the value of this object. [EMAIL PROTECTED] ~]$ snmpset -c priv

RE: persistent data storage

2006-08-08 Thread Siva Prakash Reddy G
Hi! I have tried with, what you have suggested me, then also it is not working. I have used function read_config_store_data(ASN_OCTET_STR, cptr,&station_table->disassociateStation,&tmpint); it started working, but my data is printing into the configuration file something like th

patch for trap handler partial oid matching

2006-08-08 Thread Robert Story
I've submitted a pretty simple (untested) patch that I think will allow traphandlers to match on a partial (prefix) oid, instead of just an exact match. Don't have time to test it, so if anyone else thinks it's a good idea, grab it and test it. Don't have the url handy, it's was just submitted to t

Re: persistent data storage

2006-08-08 Thread Dave Shield
On 08/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I have tried with, what you have suggested me, then also it is not > working. I have used function > read_config_store_data(ASN_OCTET_STR, > cptr,&station_table->disassociateStation,&tmpint); it started working, > but

Re: dlmod support

2006-08-08 Thread Robert Story
On Fri, 4 Aug 2006 18:20:39 -0700 Fong wrote: FT> I am trying to configure dlmod support. FT> --enable-shared=yes \ FT> --with-mib-modules="ucd-snmp/dlmod" FT> FT> With above configuration option, I got an error: FT> snmpd.conf: line 6: Warning: Unknown token: dlmod FT> FT> Do I miss something

USM Error codes

2006-08-08 Thread siddesh.rajappa
Hi, I am trying to capture USM error codes (in case of engineID, auth password or priv pwd change) when sending a SNMP v3 inform (snmp_synch_response). The error code is present in the s_snmp_errno field of the netsnmp_session structure. I am always getting the same error code -24 ( time

Re: persistent data storage

2006-08-08 Thread Dave Shield
On 08/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > to store mib variables in to the configuration file, he is using > snmpd_store_config(line); Correct. > but this function takes arguments const char * pointer. Yes - that's the line of text that should be saved into the config fi

Re: persistent data storage!

2006-08-08 Thread Dave Shield
On 08/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > i'm getting these many error > /var/net-snmp/snmpd.0.conf: line 12: Warning: Unknown token: > mediumoccupancylimit. This isn't one of the standard tokens, so I presume this relates to your private MIB? How have you registered this t

persistent data storage

2006-08-08 Thread Siva Prakash Reddy G
Title: Message    Hi! I have reffered system_mib.c, in that, to store mib variables in to the configuration file, he is using   snmpd_store_

persistent data storage!

2006-08-08 Thread Siva Prakash Reddy G
Title: Message    Hi!Dav     Thanks for constant helping.  i'm getting these many error and warnings when i run this command "snmpd -f -L -D