Detecting services on Zabbix monitored hosts

Dynatrace will try to map any requests from OneAgent monitored services to the Zabbix hosts. This is accomplished by IP addresses.

To finetune the service detection for Zabbix hosts, you can set up Dynatrace to detect services on hosts monitored by Zabbix in a more detailed manner by using service detection API.

Dynatrace service detected on a Zabbix monitored host represented by a custom device entity in Dynatrace


Following is an example of a service detection rule which will create automatically new services for hosts named myhost1.mydomain.tld and myhost2.mydomain.tld split by first segment of the URL path.

{ "type": "OPAQUE_AND_EXTERNAL_WEB_REQUEST", "metadata": { "configurationVersions": [ 0 ] }, "managementZones": [], "id": "ffffffff-0000-0000-0000-000000000000", "name": "Zabbix services WebRequest Detection rule", "description": "Splitting rule for web requests for Zabbix integration", "enabled": true, "conditions": [ { "attributeType": "URL_HOST_NAME", "compareOperations": [ { "type": "STRING_EQUALS", "negate" : false, "ignoreCase" : "true", "values" : [ "myhost1.mydomain.tld", "myhost2.mydomain.tld" ] } ] } ], "applicationId": null, "contextRoot": { "segmentsToCopyFromUrlPath": 1 }, "publicDomainName": { "copyFromHostName": true } }