Smarts - 10.1.x
If ports assigned to the domains is static then for self-monitoring you can go with the below 2 solutions:
1). Using Failover Manager: By adding failover manager domain in the SAM.
NOTE: This is applicable if you have failover setup.
Following are the list of events from the failoverManager:
2). Using Smarts ACM (Application Connectivity Monitor) domain: Application Connectivity Monitor (ACM) automatically discovers TCP-based applications on the network. Application Connectivity Monitor performs the TCP checks by using the open TCP sockets. Document for reference.