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

Client application

There are two major modifications to the web client application to make it render a graph that displays the load average. After adjusting the titles in step 2, we update the selectNewDevice() method in step 3 in order to change the name of the event of interest which fires the updateGraph() method. Previously, for the interface.html application, we used an event name called interface-stats. For this application, we use a different name, system-stats. The different unique names allows us to support multiple web client applications with the same collector server process.

Then in step 4, we modify the updateGraphs() function in order to render the new graph. The differences from the interfaces graph are slight; the name of ...

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