I already posted this one weeks ago. Sorry but I need a workaround to be able to send e-mail with a traceroute if a test fails.
Cant I run an ext program that does the trace to the tested host and log it in a file ? I woudl just have to send a file attachement then.
Thanks again for your great product.
Traceroute
Hi,
Why not write a simple batch file which pipes a command line tracert output to a file then use a command line mailer to send the attachment to the designated address, i.e:
line1:tracert news.bbc.co.uk >> results.txt
line2:mapisend <uname> <password> <subject> <results.txt>
NOTE: >> will append to an existing file whilst > will overwrite the file.
Fergus
Why not write a simple batch file which pipes a command line tracert output to a file then use a command line mailer to send the attachment to the designated address, i.e:
line1:tracert news.bbc.co.uk >> results.txt
line2:mapisend <uname> <password> <subject> <results.txt>
NOTE: >> will append to an existing file whilst > will overwrite the file.
Fergus
Thanks. I will give this a try.
But I am afraid that tracert is too slow to do this and would slowdown the whole system. I would have loved to use the IPtools embeded traceroute (fast and multithreading ?).
May the future update just lead to a %traceroute% variable in hostmonitor.
Thanks again,
Aram
But I am afraid that tracert is too slow to do this and would slowdown the whole system. I would have loved to use the IPtools embeded traceroute (fast and multithreading ?).
May the future update just lead to a %traceroute% variable in hostmonitor.
Thanks again,
Aram
Now available HostMonitor 3.22, there was implemented new test "Trace". Available on site at http://www.ks-soft.net/hostmon.eng/downpage.htm
Regards
Alex
Regards
Alex