See www.zabbix.com for the official Zabbix site.

Docs/DB schema/3.4/groups

From Zabbix.org
Jump to: navigation, search

This table contains host and template groups.

NOTE: Renamed to hstgrp in Zabbix 4.0.

Columns

Column Detail Default NULL? Type Ref from Ref to
groupid Group ID. Managed by Zabbix via the ids table. NONE NOT NULL id config.discovery_groupid
corr_condition_group.groupid
group_discovery.groupid C
group_prototype.groupid
hosts_groups.groupid C
maintenances_groups.groupid C
opcommand_grp.groupid
opgroup.groupid
rights.id C
scripts.groupid
widget_field.value_groupid C
name Group name. EMPTY NOT NULL varchar(255)
internal Internal group or not? Internal groups are the ones selected to be used in discovery and other purposes, and cannot be deleted.
  • 0 - ZBX_NOT_INTERNAL_GROUP
  • 1 - ZBX_INTERNAL_GROUP
0 NOT NULL integer
flags Group flags - currently used for discovery status.
  • 0x0 - ZBX_FLAG_DISCOVERY_NORMAL (normal group)
  • 0x4 - ZBX_FLAG_DISCOVERY_CREATED (group, created by host LLD)
0 NOT NULL integer

Indexes

Name UNIQ Columns
PRIMARY KEY YES groupid
groups_1 No name