@symptoms =   $session->getEventCauses( $object, $eventname, $flag )

The getEventCauses() function gets a list of the Root causes, or problems, that the specified event can be considered to be a symptom of.

The getProblemClosure() primitive provides the reverse mapping. This is the mechanism used to populate the codebook tab for an event property sheet in the administrative console.

The $flag parameter is optional:

  • If it is passed as TRUE, the full list of problems explaining eventname, whether directly or indirectly, is returned.

  • If it is passed as FALSE, only those problems that directly list eventname among the events they explain are returned.

     @causes = $session->getEventCauses(
       "Router::gw1", "MightBeUnavailable", 1 );