Xymon Mailing List Archive search

sending snmp traps

list Juan Guzman
Fri, 09 Jun 2006 09:30:04 -0400
Message-Id: <user-aa942eb4d369@xymon.invalid>

I agree, but I don't know the snmp trap format.  Can somebody point me in the right direction of what a trap consists of?

thanks

From: user-ce4a2c883f75@xymon.invalid (Henrik Stoerner)
Reply-To: user-ae9b8668bcde@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] sending snmp traps
Date: Thu, 8 Jun 2006 22:18:12 +0200

On Thu, Jun 08, 2006 at 03:38:17PM -0400, Juan Guzman wrote:
Has anybody configured hobbit to send traps to a monitopring sofware, e.g.
tivoli?  I'm looking for hobbit to send a trap when something turns yellow
or red.
Using the "SCRIPT" mechanism in hobbit-alerts.cfg lets you run a command
to notify about an alert. It should be fairly simple to write a script
that sends an SNMP trap from this.


Regards,
Henrik