Just joined the list 30 seconds ago.  :)  I'm working with net-snmp and
agentx. I have to register my enterprise OIDs for scalars and tables. For
example:

> netsnmp_register_read_only_scalar(...); // register my scalars
> netsnmp_tdata_register(...); // register my table

Until I make those calls in my agentx code, my OIDs don't show up in snmpd.

My MIB file also has NOTIFICATION-TYPE definitions, such as:

> myTrapTest NOTIFICATION-TYPE
>     STATUS          current
>     DESCRIPTION     "A sample trap."
>     ::= { myNotifications 1 }

I took a look at #include <net-snmp/agent/agent_trap.h> but this file seems
to be about sending traps, not registering custom ones.

My question: What do I call to register my trap definitions?

Thanks in advance!

Stéphane Charette
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to