How can I know when a Sterling B2B Integrator adapter stops?

You can create a rule so that IBM® Sterling Control Center Monitor detects when Sterling B2B Integrator stops.

When IBM Sterling Control Center Monitor finds that a Sterling B2B Integrator Adapter on a Sterling B2B Integrator-monitored server transitions from being up to being down, an event of type Server Status with a message ID of CGIS011I is generated. You can write a rule that specifies a parameter with a Key of Message ID, an Operator of Matches, and a Value of CGIS011I. To limit the circumstances under which the rule is triggered, specify values for Server Groups, Servers, as well as other parameters.