rpsedlak / zabbix-docker

This repository contains monitoring code for Zabbix to discover and monitor Docker instances on Linux platforms.
30 stars 27 forks source link

ID from 'docker info' only returning a partial value #27

Closed rpsedlak closed 8 years ago

rpsedlak commented 8 years ago

The implementation is only returning a partial value because the delimiter is a ':'.

ID: KJVU:MLNJ:KCSK:CX3H:HDO2:KOPA:NBL6:KAXH:4EYE:ISCD:UNNI:4LPX [root@zabbix-test-20 ~]# docker info | grep "ID" | cut -f2 -d: KJVU

rpsedlak commented 8 years ago

Wrote new zabbix-docker-info.py command that correctly accounts for these values.