Skip to content

Check smartOLT for the # of modems on-line and off-line and send alert.

Notifications You must be signed in to change notification settings

normtomlins/smartOLT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You will need to export the token api key for SmartOLT


export SMARTOLT_TOKEN="YOUR_SMART_OLT_API_KEY"
export SMARTOLT_SUB_DOMAIN="YOUR_SMARTOLT_DOMAIN"
export NTFY_SERVER_URL="YOUR_NTFY_SERVER"
export TWILLO_SERVER="http://YourCustomServer/api/twillo/call"


Then you can run the program and it will send the notification to ntfy server,
once per hour and uses the file last_notification_time.txt to keep track of
the last notifcation.

Udpated this to use docker now to schedule the cron jobs, you just need to create a .env file and put exported variables in their instead.

About

Check smartOLT for the # of modems on-line and off-line and send alert.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published