atom feed14 messages in net.java.dev.opendmk.usersRe: starting a standalone snmp agent
FromSent OnAttachments
Lucio CruscaFeb 10, 2011 9:03 am 
Daniel FuchsFeb 10, 2011 9:22 am 
Lucio CruscaFeb 11, 2011 6:49 am 
Daniel FuchsFeb 11, 2011 7:04 am 
Lucio CruscaFeb 11, 2011 8:20 am 
Lucio CruscaFeb 15, 2011 8:48 am 
Daniel FuchsFeb 20, 2011 6:10 am 
Lucio CruscaFeb 21, 2011 8:17 am 
Daniel FuchsFeb 21, 2011 9:28 am 
Lucio CruscaFeb 22, 2011 7:02 am 
Daniel FuchsFeb 22, 2011 9:07 am 
Lucio CruscaMar 31, 2011 9:17 am 
Daniel FuchsMar 31, 2011 9:39 am 
Daniel FuchsMar 31, 2011 9:53 am 
Subject:Re: starting a standalone snmp agent
From:Lucio Crusca (luc@sulweb.org)
Date:Feb 11, 2011 8:20:34 am
List:net.java.dev.opendmk.users

You need to write some code in order to populate them. (add some entry beans to the table beans).

well, thanks, it seemed quite straightforward with netbeans code insight... until I had to actually add the entry:

public synchronized void addEntry(SnmpOid oid, ObjectName name, Object entry)

Now this method expects 3 arguments.

1: oid. I assume (correct me if I'm wrong) the oid should be the same oid as the table with .1, .2, .3 and so on appended at the end for each entry. If that's the case, is there a method to retrieve the tables oids in java using the mibgen generated classes?

2: name. This is a plain mistery to me. No clue about what it should be.

3: entry. ok, this is the entry class instance