A really good start would be the Alarm and Event Viewer sample. This sample will show both how to find alarms from the past or subscribe to see them as they happen.
You should not use an old MIP SDK. Please download and use the newest one, especially if starting on a new development job. Right now the newest one is MIP SDK 2018R3.