Thanks Chris. Not familiar with SQL; we have about 30 active alerts - probably not enough to justify coding or extensive testing.
I was hoping SAM and NPM could do what I needed to do for our fairly small network out of the box, including alerts that behave consistently and as expected. Perhaps unreasonable hopes and the wrong approach.