Traceroute

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
aramkat
Posts: 4
Joined: Tue Jul 02, 2002 6:00 pm
Contact:

Post by aramkat »

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.
FLynch
Posts: 75
Joined: Tue Jun 18, 2002 6:00 pm
Location: London UK

Post by FLynch »

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
aramkat
Posts: 4
Joined: Tue Jul 02, 2002 6:00 pm
Contact:

Post by aramkat »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
Locked