The dpmeventmanager create event command creates an event.
This command has the following format:
dpmeventmanager create_event [-sc sc_url] [-status eventstatus] [-component eventcomponent] [-message eventmessage] [-source eventsource] [-target eventtarget] [-action eventaction] [-audit {0|1}][-locale iso629value]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
(Optional) Indicates the status of the event.
(Optional) Defines the product component to which the event corresponds.
Example: Policy, Imaging, and so on.
(Optional) Defines the event message substring to match against.
(Optional) Defines the computer that generates the event.
(Optional) Defines the target computer for which the event occurred.
(Optional) Defines the category of the event.
(Optional) Indicates whether an event is an auditing event. Use 1 (audit event) or 0 (not an audit event).
Default: 0
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example: Create an Event for a Server Discovery
This example creates an event for a server discovery for ServerXYZ.
dpmeventmanager create_event -status 1 -component ccm -message "1 New Managed System Added - xyz" -source xyz -action "Inventory Event"
Copyright © 2013 CA. All rights reserved. |
|