Henrik Størner wrote:
In <200812081608.21732.bgmilne at staff.telkomsa.net> Buchan Milne <bgmilne at staff.telkomsa.net> writes:
However, it should be relatively easy to make an alerting script to plug into Hobbit to send traps.
The biggest requirement for someone to be able to test such a script compatible with the BB feature would be the MIB file used by BB ...
As far as I recall, BB just sends a trap message using an OID that's been configured in the alert-setup config. A trap is really just a plain text-string wrapped into an SNMP message.
So there's no MIB involved, other than the "MIB" which has only the one OID which is used for the trap.
Yes, it's very simple and straightforward: send out an snmp trap based on an event, per the bbwarnrules.cfg, just like the email alerts. If hobbit can be made to do that, one of the two key requirements would be met, and only the failover behaviour would still need to be resolved.
Joe