@events =   $session->getClosure($object, $eventname[, $oneHop]);

The getClosure() function returns a list of symptoms associated with the problem or aggregate based on the relationships among instances defined in the Domain Manager.

The oneHop parameter is optional:

  • If it is omitted or passed as FALSE, the full list of problems that explain eventname, whether directly or indirectly, is returned.

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

    The function returns an array of array references with the format:

     [
      [ <classname::instancename>,<problemname> ],
      [ <classname::instancename>,<problemname> ],
      ...
     ]
    

    Example:

     @symptoms =
      $session->getClosure( "Router::gw1", "Down", 0 );