On Sat, 24 Mar 2007 18:41:00 -0700
"Aaron Glenn" <[EMAIL PROTECTED]> wrote:

> On 3/24/07, Sylwester S. Biernacki <[EMAIL PROTECTED]> wrote:
> > Hi guys,
> >
> >   I've looked over for importing bgpd status to snmp to use with
> >   'sofisticated' monitoring system. Hope somebody has similar
> > problem. Can you give me some links or tell the way you do such
> > things ?
> >
> >   ps. yeah, I know I can write my own, but I hope not to be
> >   Christopher Columbus :)
> 
> dirty hack would be net-snmpd and lots of 'exec' OIDS
> 
> 
No, net-snmpd has a good mechanism that is called pass and pass-persist.
This allows to write really simple programs (ask me for a skeleton),
you'd just have to write more code to open /var/log/bgpd.sock and
gather the information needed to answer for the OIDs.

If anybody is interested in doing this (I have some code available) for
BGP-MIB and possibly OSPF please contact me off-list, I can give
directions.

Reply via email to