diff options
Diffstat (limited to '')
-rw-r--r-- | src/go/collectors/go.d.plugin/modules/isc_dhcpd/charts.go | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/isc_dhcpd/charts.go b/src/go/collectors/go.d.plugin/modules/isc_dhcpd/charts.go new file mode 100644 index 000000000..4763a8ab1 --- /dev/null +++ b/src/go/collectors/go.d.plugin/modules/isc_dhcpd/charts.go @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +package isc_dhcpd + +import ( + "github.com/netdata/netdata/go/go.d.plugin/agent/module" +) + +var activeLeasesTotalChart = module.Chart{ + ID: "active_leases_total", + Title: "Active Leases Total", + Units: "leases", + Fam: "summary", + Ctx: "isc_dhcpd.active_leases_total", + Dims: module.Dims{ + {ID: "active_leases_total", Name: "active"}, + }, +} + +var ( + poolActiveLeasesChart = module.Chart{ + ID: "pool_active_leases", + Title: "Pool Active Leases", + Units: "leases", + Fam: "pools", + Ctx: "isc_dhcpd.pool_active_leases", + } + poolUtilizationChart = module.Chart{ + ID: "pool_utilization", + Title: "Pool Utilization", + Units: "percentage", + Fam: "pools", + Ctx: "isc_dhcpd.pool_utilization", + } +) |