O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

There's more

The web application we developed here is actually quite simple. It monitors a spool directory and floods any received information to any connected web client browsers. Because of this simplicity, and the flexibility of the JUNOS OS event policy framework, it is quite possible to extend this functionality into a structured syslog() replacement system. We define the events that we're interested in on the JUNOS devices, and any follow-up command that we might need to execute, and the output is sent to our unified web-based console for immediate attention.

For example, if we add the following event policy across our estate, we can get alerts on BGP prefix-limits as they happen, with an accompanying show bgp summary command output: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required