IBM Tivoli Software IBM Tivoli Software

[ Bottom of Page | Previous Page | Next Page | Contents | Index ]


General structure of a correlation rule

The following example shows the general structure of a correlation rule:

correlation_rule: rule_name: 
  description: 'description_text'
  
  directive: directives

  event_relation: event_class1 operator event_class2
  within: integer minutes

  when: [
    event_class1.attribute1 equals
    event_class2.attribute2
  ]

Usage notes

Example

The following two correlation rules examples can be used together to set up a simple correlation event sequence that links a fan failure event to a temperature warning event, and a temperature warning event to a temperature shutdown event.

correlation_rule: fan_fail_causes_temp_warn:

  description: 'This rule links a fan failure event and a
    temperature warning event on the same computer.'

  event_relation: Fan_Failure_Notification causes Temperature_Warning

  within: 10 minutes

  when: [
    Fan_Failure_Notification.hostname equals
      Temperature_Warning.hostname 
  ]


correlation_rule: temp_warning_causes_temp_shutdown:

  description: 'This rule links a temperature warning event and a
    temperature shutdown event on the same computer.'

  event_relation: Temperature_Warning causes Temperature_Shutdown

  within: 15 minutes

  when: [
    Temperature_Warning.hostname equals Temperature_Shutdown.hostname
  ]

[ Top of Page | Previous Page | Next Page | Contents | Index ]