The problem with this approach, is that once your dial-up connection is created, the alert that tests if you can ping an external IP will not fail any more, so either your dial-up connection will hangup, and you will get a whole series of alert email as the alert fails and succeeds in a cycle with the dial-up connection, or the dial-up connection does not hang up, in which case the whole alert will become useless, as it will just end up testing the backup dial-up connection instead of your main one.

There are monitoring systems like nagios that can be configured to only send emails if the ping status changes.

Now if the link goes down, it'll send an email, which the local mail server will hopefully keep in its spool until the second link is up again, and then send it. When the link goes up, the monitoring system will issue a second mail. If you're familiar with the setup, you know what that means (ie that the backup link works). So I don't really see a problem here, at least if the system is configured properly


In reply to Re^2: Sending info through dialup by moritz
in thread Sending info through dialup by dirtdart

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.