This file contains 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
#!/bin/env python | |
'''This is a script which runs an MTR (matt's traceroute) | |
against a target hosts - meant to be triggered by a | |
smokeping alert. Output is emailed and saved to log.''' | |
import argparse, datetime, subprocess, smtplib | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText |