I'm trying to find a good way to send a custom trap without a large expense(preferrably no expense). My preference would be to use Java since the first need we have is in this area.
I have found a couple Java SNMP stacks, one(WestHawk) is free and the other(AdventNet) is way to expensive for what I need.
With WestHawk I can send a generic trap with an OID like "1.3.6.1.2.1.1 6 1000" and when I receive it (in Netcool) I can modify it to be some specific summary, like "System down". The problem is I can't figure out how to send sepecific information along with the trap. This could be anything, strings or integers. Looking at a trap based solely on the specified oid and trap type is too generic.
Currently ,when I receive traps from other devices they have information that our current system lists as tokens, $1 through $8. I'm not sure where these come from and how they are sent as part of a trap, but that's what I'm trying to do.
Is anyone sending custom traps? Would you be willing to share how you are doing it? Any help is appreciated and I can try and give more detail if requested.
Thanks,
James
I have found a couple Java SNMP stacks, one(WestHawk) is free and the other(AdventNet) is way to expensive for what I need.
With WestHawk I can send a generic trap with an OID like "1.3.6.1.2.1.1 6 1000" and when I receive it (in Netcool) I can modify it to be some specific summary, like "System down". The problem is I can't figure out how to send sepecific information along with the trap. This could be anything, strings or integers. Looking at a trap based solely on the specified oid and trap type is too generic.
Currently ,when I receive traps from other devices they have information that our current system lists as tokens, $1 through $8. I'm not sure where these come from and how they are sent as part of a trap, but that's what I'm trying to do.
Is anyone sending custom traps? Would you be willing to share how you are doing it? Any help is appreciated and I can try and give more detail if requested.
Thanks,
James