Skip to content

Healthcheck for mosquitto running under alpine inside a container

Notifications You must be signed in to change notification settings

JorinL/mosquitto-healthcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Written for Alpine.

This script trys to subscribe to a local running mosquitto (default port 1883) and checks if that works. Can be used with or without auth.

Environment Variables used: TOPIC

USERNAME (optional) PASSWORD (optional)

Script runs without timeout or anything, because rancher (which I use) has an timeout for healthcheck anyway (and timeout left zombies). But it should be easy to adopt if wanted.

About

Healthcheck for mosquitto running under alpine inside a container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages