The environment variable "CPDIR" in snmp_xlate.c file is not defined when snmp_xlate is loaded (just after reboot).
This causes an error: "Failure getting CPDIR environment variable", and therefore snmp_xlate not writing the necessary data to snmpd.conf file.