The phosphor-regulators application supports two types of regulator monitoring:
Monitoring is optional and is defined in the JSON config file
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.
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.
In a multiple chassis system, phosphor-regulators will only monitor regulators in chassis with the proper status:
Present property is truepgood property is 1Available property is true (if interface exists)See Chassis Status for more information on these properties.