How to send all messages with a specified severity to the Troubleticket and/or Notification services

  • KM504439
  • 16-Oct-2008
  • 15-Oct-2013

Summary

It is possible to have all messages with a specified severity sent to the Troubleticket and/or Notification service without modifying all template conditions by leveraging the outage policy capability using message operation keywords: TROUBLETICKET and/or NOTIFICATION.

Question

How to send all messages with a specified severity to the Troubleticket and/or Notification

Answer

   

It is possible to have all messages with a specified severity sent to the Troubleticket and/or Notification service without modifying all template conditions by leveraging the outage (/etc/opt/OV/share/conf/OpC/mgmt_sv/respmgrs/outage) policy and using the message operation keywords: TROUBLETICKET and/or NOTIFICATION. 

The following example specifies a Message Target Rule with a Condition filtering on the Severity of "Critical", which when met, will forward the message on to the trouble ticket subsystem (by setting TROUBLETICKET to True) and to the NOTIFICATION service (by setting NOTIFICATION to True): 

 

   MSGTARGETRULE
       DESCRIPTION "set notification to true based on severity"
        MSGTARGETRULECONDS
           MSGTARGETRULECOND
              DESCRIPTION "Severity based forwarding to notification"
              SEVERITY Critical
        MSGOPERATIONS
            MSGOPERATION
               TIMETEMPLATE "$OPC_ALWAYS"
               TROUBLETICKET True
               NOTIFICATION True