情報クラスフィールド
前の「ベース名」表から、適切なクラス内のフィールドを使用して、テンプレートで使用する変数を形成します。
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;
}
private String ipAddressesフィールドには、IP アドレスではなくホスト名が含まれます。- EventType 値の例:
POLICY_OPEN_WARNING、POLICY_CONTINUES_WARNING、POLICY_OPEN_CRITICAL、POLICY_CONTINUES_CRITICAL、POLICY_UPGRADED、POLICY_DOWNGRADED、POLICY_CLOSE_WARNING - EntityType 値の例:
BUSINESS_TRANSACTION、TIER_NODE、SERVICE_ENDPOINTS、INFORMATION_POINTS、SERVERS_IN_APPLICATION、AJAX_REQUEST、DATABASES_IN_APPLICATION、MOBILE_NETWORK_REQUESTS
これらの定義済み変数ではすべてのニーズを満たせない場合、独自のカスタム変数を定義し、[Create Template] ペインでこれらのテンプレートに使用することができます。