Use iSeries Nav to create a system monitor. Under the Metrics tab, add Machine Pool Faults, set your threshold and send to your email and/or cell phone.
You have at least a couple options.
Probably the easiest is the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qwcrssts.htm”>Retrieve System Status (QWCRSSTS) API</a> using format SSTS0300 for database faults/pages. You can choose “Reset status statistics” *YES or *NO depending on whether you want statistics snapshots or cumulative. Obviously, you can create any kind of alerts that you want.
More difficult (and less well known) would be the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/perfmgmt.htm”>Performance Management APIs</a> which you might connect with collectors/monitors that you define in Management Central. For example, the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qypsacno.htm”>Add Collector Notification (QypsAddCollectorNotification) API</a> “registers with a collector to provide notifications to a specified data queue for a collection event.” (You’re on your own as far as exploring these APIs goes, but a lot of them seem appropriate.)
Personally, I’d start with QWCRSSTS if I was looking for a simple in-house monitor. I’ve used it to good effect for years and simply haven’t needed more.