Re: what to do next after generating .c and .h files

2005-04-20 Thread Wes Hardaker
> On Wed, 20 Apr 2005 16:56:51 +0100 (BST), supreeth v <[EMAIL PROTECTED]> > said: supreeth> I am very new to snmp. I have been given the task to extend supreeth> a printer mib. I am using net-snmp 5.2.1 and my OS is linux supreeth> 9.0. Using mib2c i have generated .c and .h files. I am

Re: 5.2.1 make test fails

2005-04-20 Thread Wes Hardaker
> On Wed, 20 Apr 2005 00:24:39 -0400, Aaron Walker <[EMAIL PROTECTED]> said: Aaron> I recently moved net-snmp-5.2.1 to "stable" for our x86 users Aaron> but just noticed that make test fails: You can likely ignore those errors which are probably the more host specific problems to test. -- W

what to do next after generating .c and .h files

2005-04-20 Thread supreeth v
Hi everyone I am very new to snmp. I have been given the task to extend a printer mib. I am using net-snmp 5.2.1 and my OS is linux 9.0. Using mib2c i have generated .c and .h files. I am stuck up here. I dont know what to do next. Do i need to make any changes in these two files. On what does t

Re: Why do I get such response when using command "snmptable"?

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 02:46, Hongjunli wrote: > Why do I get such response when using command "snmptable"? What was the exact command you ran? "snmptable " > > LocalIPAddrRemoteIPAddr LocalPort RemotePort > > 86.102.137.103 101.71.120.106

Re: How can I write function XXXX_load(netsnmp_cache *cache, void *vmagic)?

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 12:16, Hongjunli wrote: > _load(netsnmp_cache *cache, void *vmagic) can be used to > load table data,but I don't know how to use parameters cache > and vmagic. 'cache' is the data structure controlling the cache handling. You probably don't want to meddle with this. The

Re: snmp doubt

2005-04-20 Thread Dave Shield
[ 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. ] On Tue

Re: communication between net-snmp with kernel

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 08:41, Farazad Farhadzadeh wrote: > Can you help me about community between agent and kernel. > I want to know when agent want to set a value for requested > object agent how receive this value from kernel? Look - I've just been answering this on the -users list. What it the

How can I write function XXXX_load(netsnmp_cache *cache, void *vmagic)?

2005-04-20 Thread Hongjunli
_load(netsnmp_cache *cache, void *vmagic) can be used to load table data,but I don't know how to use parameters cache and vmagic. Do these two patameters take some index parameters? I want to load data according to index.Can I do such?

communication between net-snmp with kernel

2005-04-20 Thread Farazad Farhadzadeh
Hi Can you help me about community between agent and kernel. I want to know when agent want to set a value for requested object agent how receive this value from kernel? --- This SF.Net email is sponsored by: New Crystal Reports XI. Version

Why do I get such response when using command "snmptable"?

2005-04-20 Thread Hongjunli
Why do I get such response when using command "snmptable"? LocalIPAddrRemoteIPAddr LocalPort RemotePort 86.102.137.103 101.71.120.106 5678 9876 Wrong Type (should be Gauge32 or Unsigned32): 86.118.137.103 101.151.120.106 8987

Re: requesting help

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 20:23, 02MCMC43-mca-Yirdaw Gashaw wrote: > When I check the value of "request->requestvb->val.string" at > the begining of "MODE_SET_RESERVE1", it has additional characters > at it's end than the new string value I > entered with snmpset command. And what about 'request->req

requesting help

2005-04-20 Thread 02MCMC43-mca-Yirdaw Gashaw
While I am trying to set a string value in my table (implemented using table iterator method), the setting of the value takes place, but some characters added at the end of the new value. When I check the value of "request->requestvb->val.string" at the begining of "MODE_SET_RESERVE1", it has addit

5.2.1 make test fails

2005-04-20 Thread Aaron Walker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings, I recently moved net-snmp-5.2.1 to "stable" for our x86 users but just noticed that make test fails: - 47:testing RFC-1213 MIB SNMPv1 access 47.9:Access table at.atTable by SNMPv

Re: SNMP v3 engineBoots problem [on windows]

2005-04-20 Thread Dave Shield
On Tue, 2005-04-19 at 09:30, [EMAIL PROTECTED] wrote: > ã > > what happens if you shut down the agent, remove this file, > > and then re-start the agent? Does it recreate this file or not? > > I shutdown the agent, remove this file, snmpd.conf was recreated > again, found following lines:

Re: rfc: delay SNMPv3 engineID probe til needed by default?

2005-04-20 Thread Dave Shield
On Tue, 2005-04-19 at 19:27, mark kaplun wrote: > What is the point of sending an snmpv3 GET to an agent which does > not support snmpv3? There isn't any point in doing that, no. But we're not really talking about sending a request. At least, not from the point of view of the application develope

Re: rfc: delay SNMPv3 engineID probe til needed by default?

2005-04-20 Thread Dave Shield
On Tue, 2005-04-19 at 18:18, Wes Hardaker wrote: > 5) thus, I would choose one of: >a) have the new behaviour to probe later with a new flag to probe immed. Well, we've already got a flag to do this (sort of). It's called "DONT_PROBE". Or rather, it's the *absence* of the "DONT_PROBE" flag. I