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

Web client application

We're going to create a new web client that will query the collected data and display it using RGraph with appropriately worded legends and text:

  1. Start by copying interfaces.html from the previous recipe directory into a new directory. Give the HTML file a new name - system.html to match the expectations of the server HTTP configuration.
  1. Modify the <title> and heading-class <div> tags to change the text to reflect the different metrics and graph report:
 <!DOCTYPE HTML> <html>     <head>         <title> JUNOS System Health Monitor</title> [...]
[...]   <body>   <div class="heading">   JUNOS System Health Monitor   </div>
  1. Modify the selectNewDevice() method of WebClient in order to change the name of the event of interest that the ...

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