2009/8/25 Michal Filka <[email protected]>: > I append value definition for completeness: > test OBJECT-TYPE > SYNTAX Unsigned32 > MAX-ACCESS read-write > STATUS current > DESCRIPTION "description" > ::= { control 2 } > > Is Unsigned32 type OK for setEvent?
What about the definition of "test2"? (which is the object that you specify in the setEvent line) > Is Unsigned32 type OK for setEvent? Yes - that should be fine. > It is handled in a dynamic module using netsnmp_register_ulong_instance > function. Hmmm... you should probably be registering test.0 (assuming this is a scalar object) Or else using "netsnmp_register_scalar" And the monitor directive would be more efficient with the '-i' option, if there's only a single instance to be monitored. Dave ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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
