netbox-docker-agent icon indicating copy to clipboard operation
netbox-docker-agent copied to clipboard

netbox_docker_agent_container_exited -ID

Open j-smthng opened this issue 11 months ago • 0 comments

On event container 'recreate' using the netbox module, netbox-docker-agent may:

  • first stop a container,
  • then, create a new one => the original container can be in status 'exited', while the service is actually available.

Thus, for example the prometheus command up can return 1 while the related alert is firing.

The current procedure seems to require an additional manual intervention through netbox plugin to clean the containers; The whole sequence (dangling exited container and additional cleaning intervention) is hardly compatible with automation when using various providers and past a a given number of managed nodes. => Could you improve this feature?

Thank you

j-smthng avatar May 12 '25 13:05 j-smthng