Re: iterator helper ignores requests

2012-03-26 Thread Niels Baggesen
Den 27-03-2012 03:31, David Howland skrev: > Warning: no access control information configured. > (Config search path: > /usr/pkg/etc/snmp:/usr/pkg/share/snmp:/usr/pkg/lib/snmp:/root/.snmp) > It's unlikely this agent can serve any useful purpose in this state. > Run "snmpconf -g basic_s

iterator helper ignores requests

2012-03-26 Thread David Howland
I'm working slowly towards my new mib module, but I've hit a frustrating snag. I'm basically using code straight out of mib2c.iterator.conf. I'm writing a module that returns a table of data from the kernel. I can compile it fine, but it ignores requests! Here's a snippet of the code. Again

Re: mib2c tool

2012-03-26 Thread Magnus Fromreide
On Mon, Mar 26, 2012 at 11:39:09AM -0400, Robert Story wrote: > On Sun, 25 Mar 2012 02:23:28 -0400 Jasti wrote: > JD> After generating the template code from mib2c file how will integrate that > JD> with the main() for compilation & is it necessary to integrate all the > JD> scalar & tabular column

Re: "Unknown engine ID" error

2012-03-26 Thread Dave Shield
On 22 March 2012 16:56, Ravi Kumar wrote: > versions and branch details are below. > > ./snmpd -v > > NET-SNMP version:  5.7.rc1 > Web:               http://www.net-snmp.org/ > Email:             net-snmp-coders@lists.sourceforge.net Can you please try with the final release of 5.7 (or preferably

Re: "Unknown engine ID" error

2012-03-26 Thread Dave Shield
On 21 March 2012 19:22, Ravi Kumar wrote: >> Is this an agent that you compiled yourself? >> If so (and you used the default configure settings) >> then it should probably be looking in /usr/local/share/snmp >> automatically as well. >> > > I have two versions of snmpd in my machine.One which is s

Emergency!!!

2012-03-26 Thread 許永超
hi, I have a question when i used net-snmp. I want to get the "sock" of "typedef struct netsnmp_transport_s". How i can get it? Thanks! Best wishes to you!-- This SF email is sponsosr

Re: SNMP walk and get not working

2012-03-26 Thread Robert Story
On Sat, 24 Mar 2012 08:38:40 +0530 Vivek wrote: VN> Does anybody know how the agenx subagent sends the 'GetResponse' PDU VN> to the subagent once it receives the 'GetRequest', 'GetNextRequest' VN> and 'SetRequest'? The details of the agentx communication is handled by the library. You don't need t

Re: "Unknown engine ID" error

2012-03-26 Thread Robert Story
On Thu, 22 Mar 2012 00:52:37 +0530 Ravi wrote: RK> > Is this an agent that you compiled yourself? RK> > If so (and you used the default configure settings) RK> > then it should probably be looking in /usr/local/share/snmp RK> > automatically as well. RK> > RK> RK> I have two versions of snmpd in m

Re: mib2c tool

2012-03-26 Thread Robert Story
On Sun, 25 Mar 2012 02:23:28 -0400 Jasti wrote: JD> After generating the template code from mib2c file how will integrate that JD> with the main() for compilation & is it necessary to integrate all the JD> scalar & tabular columns into one? Do you want to integrate with the monolithic agent (snmpd