The easiest way would be to use this:
It is set up via a GUI and will tell you what sensors tripped the alarm. It works very well.