Skip to main content

Grafana Monitoring

Services

Grafana

Prometheus 

Updating SNMP Data Scraper 
  • ssh ssh root@10.70.90.82
  • nano /opt/prometheus-2.39.1.linux-amd64/prometheus.yml
  • add IP for device at the end
  • Enable SNMP on the device
    • login to RouterOS with the device IP
    • in webfig go to IP>SNMP and enable
    • save
    • in quick set note the router ID
  • Update Prometheus config
    • ssh root@10.70.90.82
    • nano /opt/prometheus-2.39.1.linux-amd64/prometheus.yml
    • add IP for device at the end and use router ID from above in the comments
    • save the file
    • systemctl restart prometheus.service
    • if anything is unclear feel free to look at the command history with the history command
  • Update Grafana
    • Go to a Grafana page where you want to add the new panel, ex. http://10.70.90.82:3000/d/EfHFIMWSz/nostrand-5283?orgId=1
    • login with standard password
    • duplicate panel
      • right click panel header > more > duplicate
    • rename using router id above
    • replace the IP
      • not all devices have the same metrics, so you may have to select a different one
    • Make sure to save the dashboard!
    • If everything worked you should see data

Prometheus-1