Re: timeticks in second and send a easy trap

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 19/12/2007, Tako Chang <[email protected]> wrote:
>  myMibTrap  ::= { enterprise 920 999}
>  myMibTrap0 ::= { myMibTrap 0 }
>  demoTrap       NOTIFICATION-TYPE  ...  ::= { myMibTrap0 1 }
>
> (assume 920 is my organization oid)

I presume you are actually using a different number?
(920 is actually assigned to R.I.S Technologies)



> #define MY_MIB_TRAP_OID   SNMP_OID_ENTERPRISES, 920, 999
> oid trapoid[] = { MY_OID_TRAP_COMMON };

These two tokens need to be the same.
I'm surprised that this code actually compiles!

Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.