Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use of Traps 1

Status
Not open for further replies.

LanderIndra

Programmer
May 23, 2005
6
ES
Hi all, I'm new at this forum and I have some rookie questions ;)
I have to send information about some parameters and there are thousands of possibilities so I can't define a trap for every single situation. Is it possible to insert a variable text in a trap in the moment I'm sending it or every trap must be defined in the MIB with a particular text?

Thanks in advance.
Lander.
 
Traps can be defined with bound variables (varbinds) that are sent with the trap. The varbinds can be any of the standard SNMP data types, including an octet string, so yes, a trap can certainly include a text string passed as a variable.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top