Overblog Suivre ce blog
Editer l'article Administration Créer mon blog
21 janvier 2012 6 21 /01 /janvier /2012 16:59

Sometimes it may be very useful to monitor only protocol and link events especialy during maintenance windows.


Hereafter, I monitor :


- Link UP/DOWN

- ISIS adj UP/DOWN

- OSPF neighbor UP/DOWN

- LDP neighbor/session UP/DOWN

- MPLS LSP UP/DOWN

- RSVP neighbor UP/DOWN 

- BFD session UP/DOWN 

- PIM neighbor UP/DOWN

- BGP neighbor state

- VRRP Backup/Master events

- LACP Detached/collecting events



system 

   syslog {

     file proto-events {

       any any;

       match "LINK_DOWN|LINK_UP|RPD_ISIS|RPD_OSPF|RPD_LDP|RPD_RSVP|

         RPD_MPLS_LSP|BFDD_TRAP_STATE|RPD_PIM|RPD_BGP_NEIGHBOR_STATE_CHANGED|

         VRRPD_NEW|lacp_update_state_userspace";

       archive size 2m files 10 world-readable;

     }

   }

}


 

Every time I do something on my router, I simply start the monitoring of the proto-events syslog file: 

 


monitor start proto-events 


 

David.

Partager cet article

Repost 0
Published by junosandme - dans Tips&Tricks
commenter cet article

commentaires