Hello i need to store a custom oid from ups (watt)
oid is = .1.3.6.1.4.1.3808.1.1.1.4.2.5
so i add custom oid
but value is always 0
so i check on cli (rocky linux) and try to run
snmpwalk -Oqv -r 1 -t 10 -v 1 -c public 172.17.143.224:161 .1.3.6.1.4.1.3808.1.1.1.4.2.5
and i see 108 (correct value)
instead to use custom oid i try to config services
add service snmp
Check Type = snmp
remote host = 172.17.143.224
parameters = -P 1 -C public -H 172.17.143.224 -p 161 -o .1.3.6.1.4.1.3808.1.1.1.4.2.5
but after some minutes…
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.4.1.3808.1.1.1.4.2.5
why ny cli work?
can use a service to execute a script?
snmpwalk -Oqv -r 1 -t 10 -v 1 -c public 172.17.143.224:161 .1.3.6.1.4.1.3808.1.1.1.4.2.5
so i pool correct value …
thank you