Example policies can be found in the Samples policy group.
Policy | Details |
opcmsgTTNS | Example opcmsg policy to submit messages tagged with the Forward-to-TT or Notification flag. This can be used to generate messages to be caught with the SubmitTTByFlag or SubmitNSByFlag policies, shown below. |
SubmitTTByFlag | WMI policy that forward messages tagged as
DoNotification to the script SubmitNS.vbs. With the policy
opcmsgTTNS, use:opcmsga=TT o=oo msg_t=hallo , which automatically
acknowledges the message after successful submission. |
SubmitTTByRule | WMI policy that forwards messages which have the
message group TT-Rule to the script SubmitTTvbs. With the policy
opcmsgTTNS use:opcmsg a=aa o=oo msg_t=hallo |
UpdateTT | WMI policy listening for generic message change
events. Calls the scriptUpdateTTvbs . |
UpdateTTStateChange | WMI policy listening for message state change
events (triggered by own, acknowledge,...). Calls the script
UpdateTTvbs with options -s and the new state. |
Policy | Details |
SubmitNSByFlag | WMI policy that forwards messages tagged as
DoNotification to the script SubmitNS.vbs. With the policy
opcmsgTTNS use:opcmsg a=NS o=oo msg_t hallo |
SumitNSByRule | WMI policy that forwards messages to the script
SubmitNS.vbs which have the message group NS-Rule. With the policy
opcmsgTTNS use:opcmsg a=NS o=oo msg_t hallo msg_g=NS-Rule |
See the help topic Example: Forward messages to Service Desk for details.
<InstallDir>/examples/OvOW/MessageForwarding
Script | Details |
OvOWSubmitTT.vbs | Submits the message to
C:\temp\test.out as a simulation. |
OvOWUpdateTT.vbs | Logs message updates in
C:\temp\test.out as a simulation. |
Script | Details |
OvOWSubmitNS.vbs | Collects the 14 notification parameters as HPOM
for UNIX does and adds an entry in C:\temp\test.out as
a simulation. |
Script | Details |
OvOWSubmitARS.vbs | Submits the message to Remedy ARS. |
OvOWSubmitAR.arq. | Macro necessary for Remedy ARS submission. |
Some of these scripts log the message into the file
C:\temp\test.out
for simulation purposes. Sample
content of this file is shown below. Your output might differ
depending on the policies you use.
Submitted TT from message: 'Test message' ID: '096aba60-55c7-71d5-13cf-0f8878020000' Node: CARROT (management server) CreatedAt: 14:33:04 2001/05/31
Notification message: 'MessageId: e7796780-55c1-71d5-1394-0f8878020000 NodeName: CARROT NodeType: Pentium Windows 2003 DateCreated: 2001/05/31 TimeCreated: 14:38:57 DateReceived: 2001/05/31 TimeReceived: 14:38:57 Application: NS MessageGroup: Object: abc Severity: Normal Resp. Users: n/a Text: hallo10 Instructions: Some instructions.'
Message with Id: '096aba60-55c7-71d5-13cf-0f8878020000' is now in state Owned.
Message with Id: 'db2e2e20-55c6-71d5-13cf-0f8878020000' is now in state Acknowledged.
See the help topic Sending Messages through Email for details.
Related Topics: