The following sm_ems command uses the --create-element option along with the notify command to:

  • Create a Host, WebHost (Host::WebHost) if it does not exist in the topology.

  • Generate a notification, ApplicationService::WebServer Stopped. Specifies that the event was sent by a third party, is a momentary type of event, will be cleared by its source, and has a severity level of 2. Also, implies that the event OccurredOn Host::WebHost:

    sm_ems --server=ICOI --element-class=Host 
    --element-name=WebHost --create-element notify ApplicationService WebServer Stopped 3rdParty momentary 
    source severity=2 s