Skip to content

go-check-smtp is a simple drop-in replacement for check_smtp in nagios-plugins distribution written in Go.

License

Notifications You must be signed in to change notification settings

nabeken/go-check-smtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-check-smtp

Go

go-check-smtp is a simple drop-in replacement for check_smtp in nagios-plugins distribution written in Go.

Motivation

I think check_smtp with STARTTLS seems to be broken because check_smtp does not trigger warning or critical even though SMTP server returns 4xx/5xx.

My SMTP server speaks HAProxy's proxy protocol to receive connections from AWS's ELB so I also need check_smtp with proxy protocol support.

Installation

Download from releases.

Or

go get -u github.com/nabeken/go-check-smtp

Usage

go-check-smtp \
  -P \
  -S \
  -F localhost \
  -H 127.0.0.1 \
  -p 10025 \
  -w 2.0 \
  -c 1.0 \
  -f sender@example.com \
  -r recipient@example.com

About

go-check-smtp is a simple drop-in replacement for check_smtp in nagios-plugins distribution written in Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published