Commit e01ccfba authored by bee26's avatar bee26
Browse files

Update get_metrics.py

parent 1ea0ef11
......@@ -15,7 +15,8 @@ class Script(GetMetricsScript):
@metrics(
["Subscribers | Summary"],
has_capability="BRAS | PPPoE",
volatile=False, access="S",
volatile=False,
access="S",
)
def get_subscribers_metrics_snmp(self, metrics):
for oid, v in self.snmp.getnext("1.3.6.1.4.1.6527.3.1.2.33.1.106.1.2.1", bulk=False):
......@@ -132,7 +133,8 @@ class Script(GetMetricsScript):
@metrics(
["DHCP | Pool | Used"],
has_capability="BRAS | PPPoE",
volatile=False, access="S",
volatile=False,
access="S",
)
def get_dhcp_used_metrics_snmp(self, metrics):
for oid, v in self.snmp.getnext("1.3.6.1.4.1.6527.3.1.2.47.1.17.1.21"):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment