SMS_ComponentSummarizer

The SMS_ComponentSummarizer WMI class reports on the health of individual SMS components by counting up the error, warning, and informational status messages produced by each component. It provides a high-level view of the health of SMS server components at a given site. An instance of this class is created for each server component running at the site.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_ComponentSummarizer : SMS_BaseClass
{
  string ComponentName;
  uint32 Errors;
  uint32 Infos;
  datetime LastContacted;
  datetime LastStarted;
  string MachineName;
  datetime NextScheduledTime;
  string SiteCode;
  uint32 State;
  uint32 Status;
  string TallyInterval;
  uint32 Type;
  uint32 Warnings;
};

Properties

  • ComponentName
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    Name of the component, such as Client Access Point.

  • Errors
    Data type: uint32
    Access type: Read-only

    Number of error status messages reported by the component during the tally interval.

  • Infos
    Data type: uint32
    Access type: Read-only

    Number of informational status messages reported by the component during the tally interval.

  • LastContacted
    Data type: datetime
    Access type: Read-only

    Date and time a status message was last received from the component. The time zone is based on the time zone of the site specified in the SiteCode property.

  • LastStarted
    Data type: datetime
    Access type: Read-only

    Date and time when the component last started. The time zone is based on the time zone of the site specified in the SiteCode property.

  • MachineName
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    Name of the computer on which the component is installed. Note that some components may run on machines other than the site server.

  • NextScheduledTime
    Data type: datetime
    Access type: Read-only

    Date and time when the component is next scheduled to start, if the component runs according to a schedule. The time zone is based on the time zone of SiteCode.

  • SiteCode
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    SMS site code to which this component is related.

  • State
    Data type: uint32
    Access type: Read-only

    State of the component. Values are:
    STOPPED (0)
    STARTED (1)
    PAUSED (2)
    INSTALLING (3)
    RE_INSTALLING (4)
    DE_INSTALLING (5)

  • Status
    Data type: uint32
    Access type: Read-only

    Indicates the health of the component. Values are:
    GREEN (0) = OK
    YELLOW (1) = Warning
    RED (2) = Critical

    A Green status indicates there are no warning or error messages. A Yellow status indicates that warning messages were generated, but not error messages. A Red status tells you there are error messages.

  • TallyInterval
    Data type: string
    Access type: Read-only
    Qualifiers: Lazy

    Interval or time period for which these statistics apply. You must specify a tally interval in your WHERE clause to query instances of this class. The statistics are reset to zero each time the schedule elapses. To use this property, see Determining a Tally Interval.

  • Type
    Data type: uint32
    Access type: Read-only

    Indicates whether the component runs according to a schedule or auto starts (runs continuously). Values are:
    AUTOSTARTING (0)
    SCHEDULED (1)
    MANUAL (2)

  • Warnings
    Data type: uint32
    Access type: Read-only

    Number of warning status messages reported by the component during the tally interval.

Methods

The following table lists the methods in SMS_ComponentSummarizer.

Method Description
DeleteStatistics Reserved.

Remarks

Queries must include a TallyInterval value. See the TallyInterval description above.

See Also

SMS_SiteDetailSummarizer, SMS_SiteSystemSummarizer, Status Classes