π Learning Objectives
By the end of this module, you will have:
- Verified all required systems are accessible and operational
- Installed necessary Grafana plugins for data source integration
- Confirmed network connectivity between Grafana and all data sources
- Gathered all required credentials and connection parameters
- Completed a pre-lab verification checklist ensuring readiness
π― Lab Environment Requirements
Before beginning the integration, you need a working environment with all components deployed and accessible. This module guides you through verificationβensuring each system is ready for configuration.
Important: This lab assumes you already have LibreNMS, InfluxDB/Telegraf, and VictoriaLogs deployed. If you don't have these systems yet, you'll need to install them before proceeding with this lab.
π₯οΈ Required Systems
Grafana Server
Version Required: Grafana 10.0 or higher
Installation Options:
Option A: Docker (Recommended for Labs)
Option B: Ubuntu/Debian Package
Option C: Red Hat/CentOS
β Verification Test
Access Grafana UI at http://your-grafana-server:3000 and confirm you can login
Resource Requirements:
- CPU: 2 cores minimum
- RAM: 4GB minimum (8GB recommended)
- Disk: 10GB minimum for application and cache
- Network: Outbound connectivity to all data sources
LibreNMS Server
Version Required: LibreNMS 22.x or higher
Database: MySQL/MariaDB 10.5+
β οΈ Prerequisites
- LibreNMS must be actively polling at least 5-10 network devices
- MySQL/MariaDB database must be accessible from Grafana server
- You need database credentials with SELECT permissions
Verify LibreNMS is Collecting Data
π‘ Database Access Details to Collect
You'll need these for Module 3:
Telegraf & InfluxDB Stack
InfluxDB Requirements
Supported Versions: InfluxDB 2.x (preferred) or 1.8.x
Verify Telegraf is Sending Data
π‘ Connection Details to Collect
For InfluxDB 2.x:
For InfluxDB 1.x:
Expected Telegraf Measurements:
cpu- CPU utilization metricsmem- Memory usage statisticsdisk- Disk space and usagediskio- Disk I/O performancenet- Network interface statisticssystem- System load and uptime
VictoriaLogs Server
Version Required: VictoriaLogs v0.5.0 or higher
Verify VictoriaLogs is Running
β οΈ Common VictoriaLogs Issues
- Ensure log shippers (Vector, Promtail) are actively sending logs
- Verify logs are recent (within last 24 hours)
- Check storage space - VictoriaLogs requires adequate disk I/O
- Confirm port 9428 is accessible from Grafana server
π‘ Connection Details to Collect
Verify Log Labels
π Grafana Plugin Installation
Grafana requires specific plugins for connecting to MySQL (LibreNMS) and optionally for enhanced VictoriaLogs support.
Install Required Plugins
MySQL Plugin (for LibreNMS)
Verify Plugin Installation
β Expected Output
You should see MySQL plugin listed and loaded successfully
Optional: VictoriaMetrics/VictoriaLogs Plugin
π‘ Plugin Notes
InfluxDB plugin is built-in to Grafana (no installation needed)
Loki plugin is built-in to Grafana (we'll use this for VictoriaLogs)
VictoriaLogs native plugin is optional but provides enhanced functionality
π Network & Security Verification
Required Network Connectivity
| Source | Destination | Port | Protocol | Purpose |
|---|---|---|---|---|
| Grafana Server | LibreNMS MySQL | 3306 | TCP | Database queries |
| Grafana Server | InfluxDB | 8086 | TCP | Time series queries |
| Grafana Server | VictoriaLogs | 9428 | TCP | Log queries |
| Admin Workstation | Grafana Server | 3000 | TCP | Dashboard access |
Test Network Connectivity
β οΈ Firewall Configuration
If connectivity tests fail, check firewall rules on both source and destination:
β Pre-Lab Verification Checklist
Complete this checklist before proceeding to Module 3. Check each item as you verify it:
System Readiness
Network Connectivity
Credentials & Access
β Checklist Complete?
Once all items are checked, you're ready to proceed to Module 3 where you'll configure the LibreNMS data source in Grafana.