Re: mib api configuration

2008-10-24 Thread Roy M. Silvernail
_DS_LIBRARY_ID, NETSNMP_DS_LIB_MIB_PARSE_LABEL,1); -- Roy M. Silvernail is [EMAIL PROTECTED], and you're not "A desperate disease requires a dangerous remedy." - Guy Fawkes http://www.rant-central.com

Re: net-snmp and C++

2008-07-30 Thread Roy M. Silvernail
declaration as `typedef u_long oid' The struct named 'oid' is colliding with the typedef for 'oid'. Change the struct name and you should be good to go. -- Roy M. Silvernail is [EMAIL PROTECTED], and you're not "A desperate d

Re: Community string field in netsnmp-session structure getting corrupted.

2008-03-26 Thread Roy M. Silvernail
sion.community_len member to the length of the community string? -- Roy M. Silvernail is [EMAIL PROTECTED], and you're not "A desperate disease requires a dangerous remedy." - Guy Faw

Re: snmpd must be root?

2008-03-23 Thread Roy M. Silvernail
inix/Unix, ports below 1024 are considered "privileged" ports, and only root is allowed to bind to them. The snmpd.conf file offers the agentuser and agentgroup options to specify the user and group to assume after binding to the listening port. The agent must still be started as root to allo

Re: macaddress as Index.

2008-02-25 Thread Roy M. Silvernail
there are over 30,000 PEN assignments, that OIDs composed of u_char wouldn't work well in practice. -- Roy M. Silvernail is [EMAIL PROTECTED], and you're not "A desperate disease requires a dangerous remedy." - Guy Fawkes

Access to MIB Module-Identity tokens through the API?

2008-02-14 Thread Roy M. Silvernail
Is it possible, once a MIB module has been loaded, to access the MODULE-IDENTITY tokens? Specifically, I'm looking for the DESCRIPTION token from MODULE_IDENTITY. Nosing around in the tree returned by netsnmp_read_module() doesn't show anything obvious. Thanks in advance.

Re: Linking libnetsnmptrapd with C++

2007-10-31 Thread Roy M. Silvernail
My apologies to the list. I got a little shrill yesterday as the day's stress compounded. I've solved the linkage issues by including the appropriate packages (as one would expect). -- Roy M. Silvernail is [EMAIL PROTECTED], and you're not "Angry men in combat fatigues tal

Linking libnetsnmptrapd with C++

2007-10-30 Thread Roy M. Silvernail
. Hasn't anyone ever done an unloadable SNMP module? Thanks in advance. -- Roy M. Silvernail is [EMAIL PROTECTED], and you're not "Angry men in combat fatigues talking to God on a two-way radio and muttering incoherent slogans about freedom are eventually going to prov

Multiple calls to init_snmp(): the correct method?

2007-10-22 Thread Roy M. Silvernail
d can offer some guidance? Any and all clues appreciated, and thanks for your time. -- Roy M. Silvernail is [EMAIL PROTECTED], and you're not "Angry men in combat fatigues talking to God on a two-way radio and muttering incoherent slogans about freedom are eventually going to provide us wi