1.I install pysnmp-4.2.5
2.install snmp-modular-input
3.when I run "./build-pysnmp-mib -o mymib.py /root/SYMANTEC-EMAIL-SECURITY.txt"
error info:
Empty input
smidump -k -f python /root/SYMANTEC-EMAIL-SECURITY.txt | ./libsmi2pysnmp fails
make sure you are using libsmi version > 0.4.5 (or svn)
have a look at https://answers.splunk.com/answers/96406/smi-error-converting-mib-to-python-egg.html
it might help you