Legacy ID:KA388337
This error occurs when improperly formatted traps are received by the snmp adapter.
To allow these traps to be processed you can comment out the 'die' statements from the <MCELL_HOME>\lib\perl\Convert\ASN1\_decode.pm file.
The line numbers may vary, but below are the exact lines that needs to be commented (the 2 commented lines)
=====================================>>>
redo CHOICELOOP if $seqof && $pos < $end;
next OP;
}
}
}
# die "decode error" unless $op->[cOPT];
}
}
}
}
# die "decode error $pos $end" unless $pos == $end;
}
sub _dec_boolean {
=====================================>>>
Once you have commented these lines please restart the adapter and confirm if you are now able to receive the snmp traps.
Please note that this is just a workaround and we recommend that you check why incorrect traps are being sent.
Related Products:
- BMC ProactiveNet
- BMC Event Manager - Enterprise Base