Writing SNMP Based Checks

Good evening, thank you once again for the attention! I have edited my previous reply and the code is now in block.