net-snmp is hard coded on mib location, only the mib file names can
be specified outside of snmptranslate.

$ mkdir -p ~/.snmp/mibs
$ cp mibs/PGM-MIB-petrova-01.txt ~/.snmp/mibs

Basic test:

$ snmptranslate -m ALL -IR pgmMIB
PGM-MIB::pgmMIB

Display full pretty tree:

$ snmptranslate -m ALL -Tp -IR pgmMIB
+--pgmMIB(112)
   |
   +--pgm(1)
   |  |
   |  +--pgmNetworkElement(1)
   |  |  |
...


Now the framework tool can be used:

$ env MIBS="+ALL" mib2c pgmMIB

...

To run with SNMP install snmpd, enable "master agentx" and walk:

$ env MIBS="+ALL" snmpwalk -v 1 -c public localhost pgmMIB
End of MIB

