I am trying to configure Zabbix to monitor docker containers. I have a couple running as a test and I want to have triggers and alerts if certain contains aren't running for some reason. I could see the each container auto discovered and they had various items and triggers for health status and running status etc so all seemed good so far.
However, when I then try and stop a container to check that a problem is triggered nothing happens, and then when you go back to the items/triggers everything appears to get disabled with a note saying "The item is not discovered anymore and has been disabled, will be deleted in 6d 23h 42s"
Am I missing something as this doesn't make sense to me, zabbix auto detects a container has triggers for health status and running status, but when you stop it, it no longer is discoverable so disables all triggers doesn't seem right. Is there a way to do this a different way, or is there a way to disable discovery once its been discovered, so it doesn't get auto deleted.
If this is the expected behaviour, the auto disabling and deletion I don't think should happen as soon as a container is stopped, it should be only if its been stopped for some period of time. If its been stopped for a period of time and maybe if the trigger has been disabled, then it should auto delete to avoid this kind of problem.
Thanks
Chris
However, when I then try and stop a container to check that a problem is triggered nothing happens, and then when you go back to the items/triggers everything appears to get disabled with a note saying "The item is not discovered anymore and has been disabled, will be deleted in 6d 23h 42s"
Am I missing something as this doesn't make sense to me, zabbix auto detects a container has triggers for health status and running status, but when you stop it, it no longer is discoverable so disables all triggers doesn't seem right. Is there a way to do this a different way, or is there a way to disable discovery once its been discovered, so it doesn't get auto deleted.
If this is the expected behaviour, the auto disabling and deletion I don't think should happen as soon as a container is stopped, it should be only if its been stopped for some period of time. If its been stopped for a period of time and maybe if the trigger has been disabled, then it should auto delete to avoid this kind of problem.
Thanks
Chris
Just as it says in top left corner..
Comment