Skip to content

Darkextratoasty/mqtt-heartbeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqtt-heartbeat

Program to send out a periodic "OK" message on the "heartbeat" topic for monitoring purposes. By default it sends the message every 15 seconds. Install and run scripts are provided, but the python file can be used on it's own if desired.

Usage

Fill out .rename with desired credentials, rename the file to .credentials. Run sudo ./install.sh from within mqtt-heartbeat/ folder, this installs, configures, and starts the heartbeat service.

./run.sh or even python3 heartbeat.py yourusername yourpassword & can be used to run the python script standalone.

About

sends an mqtt hearbeat message out periodically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published