11.07.2019, 08:48
See library documentation on how to correctly call set function: http://luasnmp.luaforge.net/snmp.html#snmp_set
I haven't tried using SNMPv3, but you can try this code:
SNMP traps are not supported at this moment.
I haven't tried using SNMPv3, but you can try this code:
Code:
ups1, err = snmp.open({
port = 161,
peer = "192.168.0.243",
version = snmp.SNMPv3,
user = "username",
password = "123456",
})
SNMP traps are not supported at this moment.