Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter just own changes in http://localhost/events #5

Open
fabrizio2210 opened this issue Oct 3, 2020 · 0 comments
Open

Filter just own changes in http://localhost/events #5

fabrizio2210 opened this issue Oct 3, 2020 · 0 comments

Comments

@fabrizio2210
Copy link
Owner

The watchdog is identifying changes although they are not related to the service.
The problem is that other services are triggering events and the watchdog doesn't filter by name of the service.

For example the following event is triggering the watchdog

{"status":"exec_die","id":"cc928e18ce819b5222464bc70e73c6d9f31e8c6bf0ff9b9a2cdfb72c95a140d5","from":"fabrizio2210/zabbix-server-mysql-alpine:armhf","Type":"container","Action":"exec_die","Actor":{"ID":"cc928e18ce819b5222464bc70e73c6d9f31e8c6bf0ff9b9a2cdfb72c95a140d5","Attributes":{"com.docker.stack.namespace":"Zabbix","com.docker.swarm.node.id":"bjjftibfnf5w38400ub4b1k3g","com.docker.swarm.service.id":"p6v8m5qcwpmqr2bdrh5lx0zj3","com.docker.swarm.service.name":"Zabbix_zabbix-server","com.docker.swarm.task":"","com.docker.swarm.task.id":"q17kmb507ddoxqulpf28xefyw","com.docker.swarm.task.name":"Zabbix_zabbix-server.1.q17kmb507ddoxqulpf28xefyw","com.zabbix.company":"Zabbix SIA","com.zabbix.component":"zabbix-server","com.zabbix.dbtype":"mysql","com.zabbix.description":"Zabbix server with MySQL database support","com.zabbix.os":"alpine","execID":"3a866dc33edeb6a403b2e67ed7f2181688863794183105f373e52403f41eb0ec","exitCode":"0","image":"fabrizio2210/zabbix-server-mysql-alpine:armhf","io.balena.architecture":"rpi","io.balena.device-type":"raspberry-pi","io.balena.qemu.version":"4.0.0+balena-arm","maintainer":"Alexey Pustovalov \[email protected]\u003e","name":"Zabbix_zabbix-server.1.q17kmb507ddoxqulpf28xefyw","org.label-schema.build-date":"","org.label-schema.description":"Zabbix server with MySQL database support","org.label-schema.docker.cmd":"docker run --name zabbix-server-mysql --link mysql-server:mysql -p 10051:10051 -d zabbix-server-mysql:alpine-4.2.5","org.label-schema.license":"GPL v2.0","org.label-schema.name":"zabbix-server-mysql-alpine","org.label-schema.schema-version":"1.0","org.label-schema.url":"https://zabbix.com/","org.label-schema.usage":"https://www.zabbix.com/documentation/4.2/manual/installation/containers","org.label-schema.vcs-ref":"","org.label-schema.vcs-url":"https://git.zabbix.com/scm/zbx/zabbix.git","org.label-schema.vendor":"Zabbix LLC","org.label-schema.version":"4.2.5"}},"scope":"local","time":1601755506,"timeNano":1601755506720369721}

The file to change is https://github.com/fabrizio2210/Docker_Volume_Synchronizator/blob/master/src/wd_conf.sh
in line 61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant