public class ZabbixAnnotation implements Annotation
An annotation with class Zabbix
datasource.
class Zabbix
Modifier and Type | Class and Description |
---|---|
static class |
ZabbixAnnotation.Builder
Mutable builder that used to build
class ZabbixAnnotation . |
Constructor and Description |
---|
ZabbixAnnotation(java.lang.String name,
boolean enabled,
boolean hidden,
Color color,
java.lang.String group,
java.lang.String host,
java.lang.String application,
java.lang.String trigger,
ZabbixTriggerSeverity minSeverity,
boolean showOkEvents,
boolean hideAcknowledgedEvents,
boolean showHostName)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
toJson()
returns object as JSON.
|
public ZabbixAnnotation(java.lang.String name, boolean enabled, boolean hidden, Color color, java.lang.String group, java.lang.String host, java.lang.String application, java.lang.String trigger, ZabbixTriggerSeverity minSeverity, boolean showOkEvents, boolean hideAcknowledgedEvents, boolean showHostName)
Public constructor.
name
- see BasicAnnotation.nameenabled
- see BasicAnnotation.enabledhidden
- see BasicAnnotation.hiddencolor
- see BasicAnnotation.colorgroup
- the group of Zabbix hosts that will be used to querying information. It can be concrete group name
or regular expressionhost
- the host from Zabbix group that will be used to querying information. It can be concrete host name
or regular expressionapplication
- the application on selected Zabbix host that will be used to querying information. It can be
concrete application name or regular expressiontrigger
- the Zabbix trigger that will be used to querying information. It can be concrete trigger name or
regular expressionminSeverity
- the minimal severity of trigger eventsshowOkEvents
- show OK events or nothideAcknowledgedEvents
- hide acknowledged events or notshowHostName
- show host name in annotation mark's tooltip or not