MID Server heartbeat

The ServiceNow platform checks the MID Server for a response every 5 minutes, using a synthetic transaction monitoring system.

When the MID Server changes status ( from UpDown or from DownUp), a system event is triggered which can be used for script actions or to send notifications.

Checking for a heartbeat

Instances send a synthetic transaction via the Heartbeat probe to every MID Server every 5 minutes. The Heartbeat probe functions exactly as a normal probe does and is sent by writing an output record to the ECC queue. A MID Server retrieves the record when it queries the ECC queue for work. The MID Server processes the probe just as it would any other probe and responds back to the instance. If the instance does not detect a response from a MID Server, the instance marks that MID Server as Down. If the MID Server responds, the instance considers the MID Server to be Up.

Note: Make sure that your MID Server can communicate on port 443. See MID Server internal connectivity requirements for more information.

System events

When a MID Server transitions from one state to another, one of these events is triggered:
  • mid_server.up: The MID Server goes from a status of Down to a status of Up.
  • mid_server.down: The MID Server goes from a status of Up to a status of Down.

Scheduled job

To change the trigger interval for the Heartbeat probe, navigate to System Scheduler > Scheduled Jobs > Scheduled Jobs. Open the MID Server Monitor record and edit the interval.