I'm trying to send a trap using snmptrap. It works fine if I run as root.
If I run as a non-root user, I get lots of errors about "Cannot find module (XYZ): At line 0 in (none)". eg, HOST-RESOURCES-MIG, HOST-RESOURCES-TYPES, UCD-DISKIO-MIB, ...
I assume there's some files it can't read. Is there a simple way to run snmptrap as non-root? Or is there a better alternative?