Info Class Fields

From the previous Base Names table, use the fields in the appropriate class to form the variable to use in a template.



class EventInfo {
  EventType eventType
  long id
  String guid
  String eventTypeKey
  Date eventTime
  String displayName
  String summaryMessage
  String eventMessage
  EntityInfo application
  EntityInfo tier
  EntityInfo node
  EntityInfo db
  List<EntityInfo> affectedEntities
  boolean healthRuleEvent
  EntityInfo anomaly // * Only defined in case of anomaly event
  EntityInfo healthRule // * Only defined when healthRuleEvent == true
  EntityInfo incident // * Only defined when healthRuleEvent == true
  boolean healthRuleViolationEvent
  NotificationSeverity severity
  ImageInfo severityImage
  boolean btPerformanceEvent // * true when eventType matches one of the BT performance event types
  String deepLink
}

class ImageInfo {
  String name
  String fileName
  String mimeContentRef
  String deepLink
}

class EntityInfo { 
  EntityType entityType 
  String entityTypeDisplayName 
  long id 
  String name 
  Map<String, String> tagValues    
} 


class ActionInfo extends EntityInfo {
 Date triggerTime 
} 


class PolicyInfo extends EntityInfo {
 boolean digest 
 digestDurationInMins 
}

class PolicyInfo {
  EntityType entityType
  String entityTypeDisplayName
  long id
  String name
  boolean digest
  int digestDurationInMins
}

class ActionInfo {
  EntityType entityType
  String entityTypeDisplayName
  long id
  String name
  Date triggerTime
}
enum NotificationSeverity { INFO, WARN, ERROR }
 
class NodeTemplateVariables {
    private long id;
    private String name;
    private long tierId;
    private String tierName;
    private long machineId;
    private String machineName;
    private boolean machineAgentPresent;
    private String machineAgentVersion;
    private boolean appAgentPresent;
    private String appAgentVersion;
    private String ipAddresses;
    private AgentType agentType;
 	private Map<String, String> tagValues;
}

Note:
  • The private String ipAddresses field contains hostnames instead of IP addresses.
  • Sample values of EventType: POLICY_OPEN_WARNING, POLICY_CONTINUES_WARNING, POLICY_OPEN_CRITICAL, POLICY_CONTINUES_CRITICAL, POLICY_UPGRADED, POLICY_DOWNGRADED, POLICY_CLOSE_WARNING
  • Sample values of EntityType: BUSINESS_TRANSACTION, TIER_NODE, SERVICE_ENDPOINTS, INFORMATION_POINTS, SERVERS_IN_APPLICATION, AJAX_REQUEST, DATABASES_IN_APPLICATION, MOBILE_NETWORK_REQUESTS

If these predefined variables do not meet your needs, you can define your own custom variables for use in these templates in the Create Template pane.

Note: Do not use any of the predefined variable names for your custom variables.