Hello,<br><br>a) I'm trying to monitor bird via SNMP so I can put it into Nagios. I want alerts to go off when a routing protocol session goes down, or if I am receiving not an defined number of routes. Any ideas?<br><br>
b) With the aim of achieving a) I am trying to write something automatic using birdc:<br><br>Basically I'm trying run birdc from a program. The program will type commands into birdc, then act on the information.<br><br>
Here is my problem. You can recreate it by doing "birdc > file" and then examining file afterwards. Here's what I got:<br><br>"<br><br>BIRD 1.1.4 ready.<br>bird> show protocols<br>bird> ^M^[[Kname proto table state since info<br>
bgp_export Static master up Oct18<br>direct1 Direct master up Oct18<br>kernel1 Kernel master up Oct18<br>device1 Device master up Oct18<br>ebgp BGP master up Nov13 Established<br>
bogons Static master down Nov12<br>rip1 RIP master up Nov12<br>ibgp BGP master up Nov16 Established<br>bird> exit<br><br>"<br><br>What's with the bird> ^M^[[K bit? I'm guessing it brings it back to the beginning of the line. Why does it do this?<br>
<br>David<br>