github.com/netdata/go.d.plugin@v0.58.1/modules/isc_dhcpd/charts.go (about) 1 // SPDX-License-Identifier: GPL-3.0-or-later 2 3 package isc_dhcpd 4 5 import ( 6 "github.com/netdata/go.d.plugin/agent/module" 7 ) 8 9 var activeLeasesTotalChart = module.Chart{ 10 ID: "active_leases_total", 11 Title: "Active Leases Total", 12 Units: "leases", 13 Fam: "summary", 14 Ctx: "isc_dhcpd.active_leases_total", 15 Dims: module.Dims{ 16 {ID: "active_leases_total", Name: "active"}, 17 }, 18 } 19 20 var ( 21 poolActiveLeasesChart = module.Chart{ 22 ID: "pool_active_leases", 23 Title: "Pool Active Leases", 24 Units: "leases", 25 Fam: "pools", 26 Ctx: "isc_dhcpd.pool_active_leases", 27 } 28 poolUtilizationChart = module.Chart{ 29 ID: "pool_utilization", 30 Title: "Pool Utilization", 31 Units: "percentage", 32 Fam: "pools", 33 Ctx: "isc_dhcpd.pool_utilization", 34 } 35 )