Regulator Monitoring

Overview

The phosphor-regulators application supports two types of regulator monitoring:

Monitoring is optional and is defined in the JSON config file

How monitoring is enabled

Regulator monitoring is enabled during the system boot after regulators are enabled (turned on).

The systemd service file phosphor-regulators-monitor-enable.service is started. This runs the regsctl utility. This utility invokes the D-Bus monitor method on the phosphor-regulators application. The parameter value true is passed to the method.

phosphor-regulators will start performing the monitoring defined in the JSON config file. Monitoring is done periodically based on a timer.

How monitoring is disabled

Regulator monitoring is disabled at the beginning of system shutdown before regulators are disabled (turned off).

The systemd service file phosphor-regulators-monitor-disable.service is started. This runs the regsctl utility. This utility invokes the D-Bus monitor method on the phosphor-regulators application. The parameter value false is passed to the method.

phosphor-regulators will stop performing the monitoring defined in the JSON config file.

Multiple chassis

In a multiple chassis system, phosphor-regulators will only monitor regulators in chassis with the proper status:

  • Present property is true
  • pgood property is 1
  • Available property is true (if interface exists)

See Chassis Status for more information on these properties.