Juan, can your software monitor syslog? It would probably be much
easier to use logger to send a message to your monitoring console than
it will be to define your own traps. SNMP trap definition requires some
knowledge of MIB's and OIDs and varbinds and PDU's and such. Syslog is
just text processing.
GLH
-----Original Message-----
From: Juan Guzman [mailto:user-9ad032fbc45a@xymon.invalid]
Sent: Friday, June 09, 2006 8:30 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] sending snmp traps
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