Telnet Protocol Custom Monitoring
From Custom Monitoring, you are familiar with how to customize types, Metrics, protocols, etc. Here we will introduce in detail how to use Telnet to customize Metric monitoring. Telnet protocol custom monitoring allows us to easily monitor and collect the Linux Metrics we want by writing sh command script.
Telnet protocol collection process
【System directly connected to Linux】->【Run shell command script statement】->【parse response data: oneRow, multiRow】->【Metric data extraction】
It can be seen from the process that we define a monitoring type of Telnet protocol. We need to configure Telnet request parameters, configure which Metrics to obtain, and configure query script statements.
Data parsing method
By configuring the metrics field, aliasFields the Telnet protocol of the monitoring template YML to capture the data specified by the peer and parse the mapping.