Device Health Monitoring

Dashboard

Cisco IOS XE and the Catalyst 9300 switch using the gRPC Dial-Out Model-Driven Telemetry interface to provide basic health and interface monitoring capabilities
Last updated: 6 months ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 195

Reviews: 0

  • Screen Shot 2021-02-18 at 11.46.32 AM.png
    Screen Shot 2021-02-18 at 11.46.32 AM.png

Start telegraf

/usr/bin/telegraf --config /etc/telegraf/telegraf-grpc.conf

Enable gRPC subscription configuration on IOS XE

More details will be added once validated ;)

! NETCONF-yang is required for gRPC Dial-Out telemetry:
netconf-yang

! Remove any previous MDT configuration:
no telemetry ietf subscription 3301

# Native platform components
telemetry ietf subscription 3301
 encoding encode-kvgpb
 filter xpath /platform-ios-xe-oper:components
 source-address 10.1.1.5
 stream yang-push
 update-policy periodic 3000
 receiver ip address 10.1.1.3 57500 protocol grpc-tcp

Collector Configuration Details

telegraf.conf

# Global Agent Configuration
[agent]
  hostname = "jcohoe-ubuntu"
  flush_interval = "15s"
  interval = "15s"

# gRPC Dial-Out Telemetry Listener
[[inputs.cisco_telemetry_mdt]]
  transport = "grpc"
  service_address = ":57500"

# Output Plugin InfluxDB
[[outputs.influxdb]]
  database = "mdt_grpc"
  urls = [ "http://127.0.0.1:8086" ]

[[outputs.file]]
  files = ["/tmp/telegraf-grpc.log"]
Dependencies: