summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/isc_dhcpd/charts.go
blob: 4763a8ab113c5387cc355cc492fa085745af14b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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",
	}
)