In addition to the commands available in the operational mode of the CLI, Junos provides an extensive set of onboard instrumentation tools to help you keep things running smoothly.
Onboard instrumentation enables you to proactively gather information from the Junos OS, thereby receiving advance notification of issues before they create service-impacting havoc. You set up these monitoring and logging tools in configuration mode (see Chapter 7) so that you have the operational data you need — whether it's to know that things are A-OK or to provide the details needed to resolve some issue in your network.
These tools gather critical operational status, statistics, and other information. Handling these functions onboard a network device speeds problem-solving. (Chapter 17 outlines how to use these and other tools in troubleshooting your network.)
Self-monitoring allows continuous feedback, capturing network-wide on down to highly granular views into device operations. This capability not only can alert you to issues, but also enables you to save a great deal of time when diagnosing network problems, as needed details are already available. You won't lose precious troubleshooting minutes just to gather basic data that you need to analyze what the problem might be.
You can use these tools to automate network monitoring in the Junos OS: