In this recipe, we'll build on the techniques and the code produced in Chapter 7, Monitoring and Maintaing JUNOS, and we'll extend it to make a more generalized NETCONF collector tool that is able to poll general system health properties such as CPU workload.
Monitoring system health
Getting ready
In order to complete this recipe, you'll need:
- Access to a development/management platform, with the following software available:
- Node.js v4 or v6
- Access to JUNOS devices that you want to monitor, all pre-configured with NETCONF-over-SSH services enabled and credentials available.
You need a working knowledge of JavaScript, and the common Node.js pattern of calling a function or method and providing a callback...