摘要: # 定义SNMP代理的信息 community = 'public' # SNMP团体 ip_address = '192.168.0.1' # SNMP代理的IP地址 # 定义端口状态信息的OID port_status_oid = 'ifOperStatus' # 创建SNMP Walk的生成器 阅读全文
posted @ 2024-05-20 22:19 不知名路人! 阅读(100) 评论(0) 推荐(0)