Creating Events
The %ProductName% Genevent utility enables you to define events.
By default, user-defined events are directed to the server or servers known to
be managing the agent from which the event is sent. Genevent must be used
from a command prompt on the %ProductServerName% or a system; it is not
available through the %ProductName% Console.
Use the following syntax to run genevent from a command prompt on systems
running under Windows, OS/2, and NetWare:
genevent /required_parameters /optional_parameters
You must specify the following required_parameters:
- type:type
- where type is a dot-delimited string of Event Type categories,
for example, Director.Topology.Online. These categories are described under Event
Type in the Event Filter
Builder help window.
- text:text
- where text is a descriptive string you supply to identify the cause
of the event.
You can also specify the following optional_parameters:
- sev:severity
- where severity indicates the urgency of this event. Specify one of
the following:
-
fatal
-
critical
-
minor
-
warning
-
harmless
If unspecified, severity defaults to unknown. These categories are
described under Severity in the
Event Filter Builder
help window.
- dest:@EventServer
- (Default) @EventServer designates that the event should be directed
to the server or servers known to be managing this agent.
- dest:protocol::name
- where protocol is the transport used between the system and
the %ProductServerName% to which this event is sent, and name is the
%ProductServerName% name used by the specified protocol. Valid
values for protocol are:
Example: NETBIOS::TWGSVR1