View previous topic :: View next topic |
Author |
Message |
aramkat
Joined: 02 Jul 2002 Posts: 4
|
Posted: Wed Jul 03, 2002 10:59 am Post subject: |
|
|
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.
|
|
Back to top |
|
|
FLynch
Joined: 18 Jun 2002 Posts: 75 Location: London UK
|
Posted: Wed Jul 03, 2002 1:32 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
aramkat
Joined: 02 Jul 2002 Posts: 4
|
Posted: Thu Jul 04, 2002 6:20 am Post subject: |
|
|
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
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Jul 04, 2002 6:53 pm Post subject: |
|
|
Truth to say its more easy to implement "Trace" test than implement just "%Trace%" macro. So, test and macro will be implemented in the same time.
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
|
Back to top |
|
|
|