I use Prometheus and grafana for monitoring the Network devices. Prometheus is most power full tool to monitor any metrics, and it is lightweight and scalable.

Mostly my environment contains Cisco and Juniper device. Monitoring other vendors also very easy but you need to understand how Prometheus works first.

Below are the metrics monitored in My Cisco and Juniper Devices.

Cisco:

  • Hardware status
    • Fan Status
    • Power supply status
    • Temperature status
    • Processor and other hardware status
  • Interface Bandwidth Utilisation
  • Interface Error and Discards
  • Interface Packets per second Utilisation
  • IPsla Latency and Packet loss
  • BGP Neighbour Status
  • BGP Received Prefix status

Juniper:

  • Hardware Status
    • Fan Status
    • Power supply status
    • Temperature status
    • Processor and other hardware status
  • Interface Bandwidth Utilisation
  • Interface Error and Discards
  • Interface packets per second Utilisation
  • RPM latency and Packet loss
  • BGP Neighbour status
  • BGP Received Prefix Status

I will explain Part by part on how to configure things

There are multiple different steps needs to be followed to make this work.

We need to install 5 different components to have complete monitoring design

  • SNMP_generator
  • SNMP_exporter
  • Prometheus
  • Alert Manager
  • Grafana

In this SNMP_generator is used only for creating config file for snmp_exporter.

Dont worry, all the components works with each other through HTTP API so no need to worry about maintaining all of them mentioned above.

In my next tutorial i will explain about Installing and configuring SNMP_generator and SNMP_exporter.