Re: how can I set the generic id of a trap, send from a subagent

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 25/10/2007, Torben Surmer <[email protected]> wrote:
> is it possible to send a trap from a agentx subagent with an generic id
> other then 6?

Yes - if you send one of the "standard" traps from the subagent, then this
should be sent out as an SNMPv1 trap from the master agent using the
appropriate generic ID.

In fact, you should see this when the subagent starts up, as it ought to
generate a "coldStart" trap  (i.e. a generic trap-ID of 0)

But all notifications other than the six standard ones (coldStart, warmStart,
linkUp, linkDown, authFail and egpNeighborLoss) will always have a
generic trap-ID of 6.    That's nothing to do with AgentX - it's part of the
SNMPv1 specification.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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.