var valueArray = [
    'moduleNoDefect',
    'moduleOverHeat',
    'moduleFanRpmLow',
    'moduleVoltageLow',
    'moduleThermalSensorFailure',
    'modulePullOut',
    'powerDC48VAFailure',
    'powerDC48VBFailure',
    'extAlarmInputTrigger',
    'moduleDown',
    'mscSwitchOverOK',
    'networkTopologyChange',
    'macSpoof',
    'cpuHigh',
    'memoryUsageHigh',
    'packetBufferUsageHigh',
    'loopguardOccurence'
];
var base2 = parseInt(value).toString(2);
var outArray = [];
for (var i = 0; i < base2.length; ++i) {
    if (base2[base2.length - 1 - i] === '1') outArray.push(valueArray[i]);
}
return outArray.join();