diff --git a/userparameter_zabbixdocker.conf b/userparameter_zabbixdocker.conf index 3127c6f..4549d50 100644 --- a/userparameter_zabbixdocker.conf +++ b/userparameter_zabbixdocker.conf @@ -14,16 +14,16 @@ UserParameter=docker.running.ubuntu, ps -ef | grep 'dockerd' | grep -v grep | wc UserParameter=docker.containers.running, docker ps -q | wc -l -UserParameter=docker.discovery, /usr/local/bin/zabbix-docker-discover.py +UserParameter=docker.discovery, /usr/local/bin/zabbix-docker-discover.py 2> /dev/null -UserParameter=docker.info[*], /usr/local/bin/zabbix-docker-info.py "$1" | grep -v "WARNING" +UserParameter=docker.info[*], /usr/local/bin/zabbix-docker-info.py "$1" 2> /dev/null | grep -v "WARNING" -UserParameter=docker.info.boolean[*], /usr/local/bin/zabbix-docker-info.py "$1" | grep -v "WARNING" | grep -i true | wc -l +UserParameter=docker.info.boolean[*], /usr/local/bin/zabbix-docker-info.py "$1" 2> /dev/null | grep -v "WARNING" | grep -i true | wc -l -UserParameter=docker.info.convert[*], docker info | grep -v "WARNING" | grep "$1" | cut -f2 -d: | cut -c2- | /usr/local/bin/zabbix-docker-convert.py +UserParameter=docker.info.convert[*], docker info 2> /dev/null | grep -v "WARNING" | grep "$1" | cut -f2 -d: | cut -c2- | /usr/local/bin/zabbix-docker-convert.py -UserParameter=docker.container.inspect[*], /usr/local/bin/zabbix-docker-inspect.py $1 $2 +UserParameter=docker.container.inspect[*], /usr/local/bin/zabbix-docker-inspect.py $1 $2 2> /dev/null -UserParameter=docker.container.inspect.boolean[*], /usr/local/bin/zabbix-docker-inspect.py $1 $2 | grep -i true | wc -l +UserParameter=docker.container.inspect.boolean[*], /usr/local/bin/zabbix-docker-inspect.py $1 $2 2> /dev/null | grep -i true | wc -l -UserParameter=docker.container.stats[*], /usr/local/bin/zabbix-docker-stats.py $1 $2 +UserParameter=docker.container.stats[*], /usr/local/bin/zabbix-docker-stats.py $1 $2 2> /dev/null