In this recipe, we'll use the JUNOS OS NETCONF interface in order to extract real-time interface performance data and present it in a web interface. We'll write a server application that connects to the devices in our estate, issues a NETCONF remote procedure call to extract the data, and then shares this data amongst web-based clients. For convenience and simplicity, we'll avoid the task of storing the actual interface usage data and focus our application on real-time uses such as monitoring the state of interfaces while performing reconfiguration work. Consider it an extension to the command line interface, but in a visual form:
Figure 7.5 Interface monitoring system schematic