Does SAM have built in Basic alerts like NPM does? Also if I create a custome alert that monitors hardware status, how do you test this alert?
SAM uses Advanced Alerts and there are some pre-made (or "canned" as we say) including Hardware Health. The name of the canned alert is "Alert me when any hardware component goes into a warning or critical state".
Also, hardware alerts can be tested the same as any other alert in the Advanced Alert Manager. Select the alert you'd like tested, click the "Test" button, and select the node you'd like the alert tested against.
Keep in mind that the test button only tests the alert actions, not the alert logic or the actual state of the specified device.
You can see HW alerts here