$eventtype = $session->getEventType_P( $class, $event )

This primitive returns a numeric code that indicates the type of the specified event. Possible values are shown in getEventType return codes.

Table 1. getEventType return codes

Return code

Event type

0

Event

1

Aggregation

2

Symptom

3

Causality

4

Problem

5

Imported event

6

Propagated Aggregation

7

Propagated Symptom

8

Same type

 $eventtype = $session->getEventType_P( "Router", "Down");