A bit off topic, but I would be using node-red for collecting the data so maybe not too far off.
I have about a dozen assorted devices that I would like to monitor various aspects of and am wondering whether using SNMP would be a good route to go. Does anyone here have any views?
In an attempt to learn about it I have been following this tutorial (How To Install and Configure an SNMP Daemon and Client on Ubuntu 18.04 | DigitalOcean) using two Ubuntu 20.04 systems, one as manager and one as agent. All goes well until I try to change to password of the newly created demo user with the command (on the manager)
snmpusm -u demo -l authPriv -a MD5 -x DES -A temp_password -X temp_password agent_server_ip_address passwd temp_password new_password
with the appropriate IP for the agent machine. The response is
Error in packet. Reason: wrongLength (The set value has an illegal length from what the agent expects) Failed object: SNMP-USER-BASED-SM-MIB::usmUserOwnPrivKeyChange.".....)D.'..m`...."."demo"
In fact I get the same error with the original bootstrap user if I try
to change his pwd so there is something pretty basic wrong somewhere.
I have looked for alternative tutorials that might give a clue and
struggled through assorted man pages but can't work out what is going
wrong so if anyone has any ideas on this one then that would be great.