Skip to content

SlurmHealthMetadata

Source code in docs_src/capo_sagemaker/types/slurm_health_metadata.py
class SlurmHealthMetadata(TypedDict, closed=True):
    component: NotRequired[
        "capo_sagemaker.types.slurm_health_component.SlurmHealthComponent"
    ]
    """<p>The Slurm component that the health information describes. The valid value is <code>Slurmdbd</code>, the Slurm accounting daemon.</p>"""
    status: NotRequired["capo_sagemaker.types.slurm_health_status.SlurmHealthStatus"]
    """<p>The health of the component. Valid values are <code>Healthy</code> and <code>Unhealthy</code>.</p>"""
    reason: NotRequired["capo_sagemaker.types.slurm_health_reason.SlurmHealthReason"]
    """<p>The reason the component is unhealthy. Valid values:</p> <ul> <li> <p> <code>DaemonDown</code>: The daemon is not running, so job accounting records are not being written.</p> </li> <li> <p> <code>DaemonDisabled</code>: The daemon is running and its accounting database is responding, but the daemon is not enabled to start automatically. Job accounting stops the next time the controller node restarts.</p> </li> <li> <p> <code>DbUnreachable</code>: The daemon is running, but its accounting database did not respond. Job accounting records might not be written.</p> </li> </ul> <p>This field is omitted when the component is healthy.</p>"""

component instance-attribute

component: NotRequired[SlurmHealthComponent]

The Slurm component that the health information describes. The valid value is Slurmdbd, the Slurm accounting daemon.

reason instance-attribute

reason: NotRequired[SlurmHealthReason]

The reason the component is unhealthy. Valid values:

  • DaemonDown: The daemon is not running, so job accounting records are not being written.

  • DaemonDisabled: The daemon is running and its accounting database is responding, but the daemon is not enabled to start automatically. Job accounting stops the next time the controller node restarts.

  • DbUnreachable: The daemon is running, but its accounting database did not respond. Job accounting records might not be written.

This field is omitted when the component is healthy.

status instance-attribute

status: NotRequired[SlurmHealthStatus]

The health of the component. Valid values are Healthy and Unhealthy.