监控
少年的小俊
全栈Python开发, 对机器学习和大数据挖掘感兴趣
展开
-
python 使用 pysnmp 采集 SNMP 数据
带加密参数,超时时间,重试次数from pysnmp.hlapi import UsmUserData, usmHMACSHAAuthProtocol, UdpTransportTarget, usmDESPrivProtocol, \ usmAesCfb128Protocolfrom pysnmp.entity.rfc3413.oneliner import cmdgendef get_oid_value(username, auth_key, priv_key, host, oi.原创 2021-03-26 17:07:06 · 3018 阅读 · 0 评论 -
influxDB 查看表结构
influxDB 查看表结构如何知道哪些字段是tags,哪些字段是fields呢,因为查询中必须携带 fieldsshow field keys from measurement;show tag keys from measurement;measurement 就相当于表名influxdb 查看field 或 tag 的值用于grafana等展示图进行筛选show field values from measurement with key = "name";show ta原创 2021-03-09 11:22:52 · 9246 阅读 · 0 评论 -
SNMP 学习总结(一)
文章目录SNMP 介绍snmpget 参数说明SNMP 介绍snmpget 参数说明USAGE: snmpget [OPTIONS] AGENT OID [OID]... Version: 5.7.1 Web: http://www.net-snmp.org/ Email: net-snmp-coders@lists.sourceforge.netOPTIONS: -h, --help display this help messag原创 2020-12-23 16:53:27 · 303 阅读 · 0 评论