AW: some questions to AgentX helper routines

2008-09-03 Thread Hanig, Michael
> Assume that you are calling the registration code with as the > OID, then _instance registers a variable at while _scalar > registers a variable at .0, this is useful for simple scalar > variables that are declared outside of any table in the MIB. So the main (only?) difference is how to regist

Re: some questions to AgentX helper routines

2008-09-03 Thread Dave Shield
2008/8/27 Hanig, Michael <[EMAIL PROTECTED]>: > I) What is the difference between > netsnmp_register_watched_scalar() > and > netsnmp_register_watched_instance() The scalar helper handles requests for myScalarOID and myScalarOID.1 correctly. The instance helper returns the

Re: some questions to AgentX helper routines

2008-09-02 Thread Magnus Fromreide
On Wed, 2008-08-27 at 14:14 +0200, Hanig, Michael wrote: > Hello there, > > I stumbled upon some problems using net-snmp for creating a sub-agent. > I was able to figure out most of the stuff, but there are still some > questions left. > > I) What is the difference between > > netsnmp_register_w

some questions to AgentX helper routines

2008-08-27 Thread Hanig, Michael
Hello there, I stumbled upon some problems using net-snmp for creating a sub-agent. I was able to figure out most of the stuff, but there are still some questions left. I) What is the difference between netsnmp_register_watched_scalar() and netsnmp_register_watched_instance() ? Besides *_instance