Unix administration - Unix shell script for traceroute monitoring - Beginner question

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2007 > Unix shell script for traceroute monitoring - Beginner question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Unix shell script for traceroute monitoring - Beginner question
underh20.scubadiving@gmail.com

2007-01-06, 8:01 pm

I am trying to write a shell script to monitor network performance via
traceroute with the following specifics :

Goal :

- Run traceroute to a list of addresses and capture each result with
time stamp; sleep for 4 minutes between each traceroute run

- All output will go to a timestamped log

To run: $ file-name X ***where X is number of iteration


Any idea what's the best way to approach this ?

Thanks,

Bill

Gerry Sinkiewicz

2007-01-06, 8:01 pm


<underh20.scubadiving@gmail.com> wrote in message
news:1167933249.099293.234110@42g2000cwt.googlegroups.com...
> I am trying to write a shell script to monitor network performance via
> traceroute with the following specifics :
>
> Goal :
>
> - Run traceroute to a list of addresses and capture each result with
> time stamp; sleep for 4 minutes between each traceroute run
>
> - All output will go to a timestamped log
>
> To run: $ file-name X ***where X is number of iteration
>
>
> Any idea what's the best way to approach this ?
>
> Thanks,
>
> Bill
>


redirect the output to a file.
awk the file so that only the columns you want exist (fqdns, time).
insert the resulting file records into a database adding a timestamp.
report from the database (MySQL, Oracle, etc).


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com