2009/7/16 Andrea Sen <[email protected]>:
> I'd like to write a module for netsnmp, which sets among other values
> the system description, system location and so on.

Why?
There is already a module to handle these MIB objects,
see 'mibgroup/mibII/system_mib'
Why not simply use this code?


> When my module is loaded, it produces some errors like
> netsnmp_assert !"registration != duplicate" failed
> in the logfile. The System Description isn't replaced of course, neither
> one of the other settings.

It sounds as if the agent is still using the standard system
MIB implementation, and hence ignoring yours.


> Is it in general impossible to set these values with a module
> or is it my fault?

It's certainly possibly to set these values - this support has been
present for years.   I trust that you have read the FAQ entries
that talk about these objects?
   If not, then yes - it is your fault :-)

Dave

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to