I cant find the doc, but $[1-x] will give you
any of the variables with the trap, $T timestamp,
$A agent, $C community, $G generic, $S specfic
I believe there are others but thats off the top
of my head, oh yeah $E enterprise.
Paul
Jeff Fitzwater wrote:
SOL 2.8
NV 7.1.4
When I recieve a BGP TRAP when a peering session changes STATE, I need
to not only get the value but the OID itself, which contains the peer
host IP.
I know how to get it in the LOG but don't understand how to pass the OID
itself directly to a script. If its even possible.
I have been trying different things with COMMAND FOR AUTOMATIC ACTION in
trap event setup, but can't figure it out.
Thanks for any help.
Jeff Fitzwater
OIT Systems & Networking
Princeton University
|