Based on Rob's comments, I wrote a service with the structure below. It gathers connection statistics for all WmART adapter connections on an IS instance, and presents them on an 'adapter statistics' webpage monitored by an external system monitoring tool.
This lets us monitor connectivity from webMethods to all adapter-connected systems (including webMethods -> wM system DBs)
Thanks again Rob!
Code:
INVOKE pub.art:listRegisteredAdapters
LOOP over /registeredAdapterList
INVOKE pub.art.connection:listAdapterConnections
LOOP over /connectionDataList
INVOKE pub.art.connection:getConnectionStatistics
Add info to 'adapter statistics' page