Re: Setting sysDescr with a module?
Andrea Sen <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks a lot, that works! manu kumar wrote: > U can do by build the net-snmp stack with : > ./configure --prefix= --with-out-mib-modules="mibII/system_mib > mibII/sysORTable" > > ------------------------------------------------------------------------ > *From:* Dave Shield <[email protected]> > *To:* Andrea Sen <[email protected]> > *Cc:* [email protected] > *Sent:* Thursday, July 16, 2009 5:13:13 PM > *Subject:* Re: Setting sysDescr with a module? > > 2009/7/16 Andrea Sen <[email protected] <mailto:[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] > <mailto:[email protected]> > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > ------------------------------------------------------------------------------ _______________________________________________ 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