I love newsgroups! I have had this same problem with these scripts and now
they work! Next question: They reference some varible $opt_p or something like
that in order to mail the results to someone. What is this and where can I get
it?

- Gary

David Taylor wrote:
> 
> On Fri, 10 Dec 1999, Morris Maynard wrote:
> 
> >
> > Here are the first several lines from /var/log/diald.log.1:
> > Wed Dec  1 05:56:26 1999 EST: Calling site my.isp.ip.addr.
> > Wed Dec  1 05:56:34 1999 EST: Connected to site my.isp.ip.addr.
> > Wed Dec  1 05:57:36 1999 EST: Disconnected. Call duration 62 seconds.
> > IP transmitted 508 bytes and received 3752 bytes.
> > Wed Dec  1 07:16:58 1999 EST: Calling site my.isp.ip.addr.
> > Wed Dec  1 07:17:06 1999 EST: Connected to site my.isp.ip.addr.
> > Wed Dec  1 07:25:16 1999 EST: Disconnected. Call duration 490 seconds.
> > IP transmitted 79066 bytes and received 320469 bytes.
> > (I stubbbed out the real isp ip address)
> > Any ideas?
> 
> aha..
> 
> Try this:
> 
>         change
> $timestamp =~ /^(\S+) $month (\d+) (\d+):\d+:\d+ \d+/ || next;
>         to
> $timestamp =~ /^(\S+) $month +(\d+) (\d+):\d+:\d+ \d+/ || next;
>                              ^
>                             ^^^
> 
> > > The tests in lines 35 and 36 fail:
> > >
> > >       $timestamp =~ /^(\S+) $month (\d+) (\d+):\d+:\d+ \d+/ || next;
> > >       ( $dayOfWeek = $daysOfWeek{$1} ) > 0 || next;
> > >
> 
> --
> David Taylor
> E-Mail: [EMAIL PROTECTED]   [Remove .spam]
> ICQ:    268004
> PGP:    [EMAIL PROTECTED]           [autoresponder]
> 
>   ------------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

-- 
Edison Information Technologies
P.O. Box 554
Milan, OH  44846-0554
419.499.7040
www.EdisonInfo.com
[EMAIL PROTECTED]
--

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to