, then: how do I pass only a subset of the command
line to net-snmp when calling init_snmp()?
--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com
On Sat, Oct 17, 2009 at 02:54:24AM -0400, Steve Stetka wrote:
I think snmp looks for a file called bla.conf where bla is the name
.
How can I pass this config file to my agent without read_config() trying to
parse it as an snmpd config file? Thanks.
--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com
signature.asc
Description: Digital signature
I've managed to return string values, integer values, and boolean values (as
integers). I'm trying to return float values. The nearest thing I see is a
Float type defined in UCD-SNMP-MIB, defined in terms of an Opaque type, in
SNMPv2-SMI. Opaque is defined as IMPLICIT OCTET STRING. I guess that
On Tue, Jun 09, 2009 at 08:10:49AM +0200, Vincent Bernat wrote:
OoO En cette fin de nuit blanche du mardi 09 juin 2009, vers 05:14,
Joshua Tolley eggyk...@gmail.com disait :
I've noticed that mib2c's generated code makes calls to
netsnmp_table_set_add_indexes() something like this one
I've noticed that mib2c's generated code makes calls to
netsnmp_table_set_add_indexes() something like this one:
netsnmp_table_set_add_indexes(table_set,
ASN_OCTET_STR, /* index: firstIndexField */
ASN_INTEGER,/* index: secondIndexField */
ASN_INTEGER,/* index:
I'm trying to register a table, and keep getting MIB_REGISTRATION_FAILED as a
result from netsnmp_register_table_iterator. Unfortunately there aren't any log
messages telling my why it failed. I'm pretty n00b-ish, so if there's a way to
increase logging, I don't know what it is. Does anyone have
On Thu, Jun 04, 2009 at 04:45:55PM +0100, Dave Shield wrote:
2009/6/4 Joshua Tolley eggyk...@gmail.com:
There's probably another MIB module that has already registered that OID.
That was my first thought, and I failed to mention that I'd already tried
that.
No luck:
SNMPv2-SMI
The agent I'm writing uses mib2c.iterator.conf, and creates fairly
straightforward C as expected. I fix a couple of syntax errors and fill in a
few of the details the mib2c configuration needs, and in the
initialize_table_my table function, I create several items using the linked
list system mib2c
On Tue, Sep 2, 2008 at 5:39 PM, Wes Hardaker
[EMAIL PROTECTED] wrote:
On Fri, 29 Aug 2008 13:47:25 -0600, eggyknap [EMAIL PROTECTED] said:
e I'm writing an agent, and found that mib2c using the mib for dummies
e config makes about 12 source files for each table I implement. I
e modify a few