Skip to content

spirrello/inet-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test for packet loss and send email alerts using Go

Requirements

  • Set ENV variables

Examples:
export SMTP_HOST="smtp.gmail.com"
export SMTP_PORT="587"
export SMTP_PASSWORD="asdfdsaf"
export SENDER_EMAIL="[email protected]"
export DEST_EMAIL="[email protected]"
export PACKET_LOSS_PERCENTAGE=20

Compiling for Raspberry pi

env GOOS=linux GOARCH=arm GOARM=6 go build

About

Using Go for running ping tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages