Created
January 22, 2016 20:54
-
-
Save pilasguru/f08edd138107e4b10890 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check host mailserver.localdomain with address 192.168.0.25 | |
if failed host mailserver.localdomain port 25 | |
expect "^220.*\r\n" | |
send "EHLO monitor.localdomain\r\n" | |
expect "^250.*\r\n" | |
send "QUIT\r\n" | |
expect "^221.*\r\n" | |
then alert | |
alert [email protected] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment