zabbix_export: version: '5.4' date: '2022-01-28T13:15:38Z' groups: - uuid: bc31e2ca4e9b46cd9a508e22ac5835a1 name: PS-1430 - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications hosts: - host: PS-1430 name: PS-1430 groups: - name: PS-1430 interfaces: - interface_ref: if1 items: - name: 'VMware: Event log' type: SIMPLE key: 'vmware.eventlog[{$VMWARE.URL},skip]' history: 7d trends: '0' value_type: LOG username: '{$VMWARE.USERNAME}' password: '{$VMWARE.PASSWORD}' description: 'Collect VMware event log. See also: https://www.zabbix.com/documentation/5.4/manual/config/items/preprocessing/examples#filtering_vmware_event_log_records' interface_ref: if1 tags: - tag: Application value: VMware - name: 'VMware: Full name' type: SIMPLE key: 'vmware.fullname[{$VMWARE.URL}]' delay: 1h history: 7d trends: '0' value_type: CHAR username: '{$VMWARE.USERNAME}' password: '{$VMWARE.PASSWORD}' description: 'VMware service full name.' preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 1d interface_ref: if1 tags: - tag: Application value: VMware - name: 'VMware: Version' type: SIMPLE key: 'vmware.version[{$VMWARE.URL}]' delay: 1h history: 7d trends: '0' value_type: CHAR username: '{$VMWARE.USERNAME}' password: '{$VMWARE.PASSWORD}' description: 'VMware service version.' preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 1d interface_ref: if1 tags: - tag: Application value: VMware discovery_rules: - name: Discovery type: HTTP_AGENT key: localhost delay: 1h filter: evaltype: AND conditions: - macro: '{#VM.DNS}' value: ^$ operator: NOT_MATCHES_REGEX formulaid: A description: 'Discovery of guest virtual machines.' interface_ref: if1 host_prototypes: - host: '{#VM.DNS}' name: '{#VM.NAME}' inventory_mode: DISABLED group_links: - group: name: Templates/Applications group_prototypes: - name: 'VMWARE/{#CLUSTER.NAME} (vm)' - name: 'VMWARE/{#DATACENTER.NAME}/{#VM.FOLDER} (vm)' - name: 'VMWARE/{#HV.NAME}' macros: - macro: '{$VMWARE.VM.UUID}' value: '{#VM.UUID}' description: 'UUID of guest virtual machine.' custom_interfaces: 'YES' interfaces: - ip: '{#VM.IP}' url: 'http://localhost/data12.json' overrides: - name: 'Test LLD O' step: '1' filter: conditions: - macro: '{#VM.IP}' value: ^$ formulaid: A operations: - operationobject: HOST_PROTOTYPE operator: REGEXP value: '.*' discover: NO_DISCOVER inventory_mode: DISABLED