summaryrefslogtreecommitdiffstats
path: root/smokemtr.py
AgeCommit message (Collapse)AuthorFilesLines
2014-07-16smokemtr.py: make sendmail/SMTP configurableFlorian Pritz1-3/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-07-16smokemtr.py: use sendmail; MTR to all IPs of the targetFlorian Pritz1-24/+43
Use sendmail directly instead of SMTP because the SMTP host could be unreachable and sendmail just dumps the mail into a spool dir for the MTA to pick up whenever it is ready. Less error prone. Look up IP addresses of the target and run MTR to all of them in case the target has both, an ipv4 and ipv6. This also works for hosts with more than one A record in which case all IPs will be pinged and added to the report. Could put a bit of load on the network, but I don't care. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-02-21add smokemtr.pyFlorian Pritz1-0/+99
Signed-off-by: Florian Pritz <bluewind@xinu.at>