>>> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
eespejel> Hi there. I did just set up a Linux box to time synchronize to a
eespejel> Cisco router. I would like to have a way to know whenever the
eespejel> Linux box stops synchronizing (because of any network connecticity
eespejel> is
On Tue, Apr 22, 2008 at 3:50 PM, <[EMAIL PROTECTED]> wrote:
> Hi there. I did just set up a Linux box to time synchronize to a Cisco
> router. I would like to have a way to know whenever the Linux box
> stops synchronizing (because of any network connecticity issue, for
> instance). any ideas?
R
[EMAIL PROTECTED] (Hal Murray) writes:
>>$!/bin/sh
>>if ! ntpq|grep '* name.of.router'>/dev/null; then
>> mail -s "NTP sync has been lost" [EMAIL PROTECTED]
>>fi
>>
>>And put the shell script into crontab to run every minute.
>>(your milage may vary)
>That could lead to a lot of clutter in you
>$!/bin/sh
>if ! ntpq|grep '* name.of.router'>/dev/null; then
> mail -s "NTP sync has been lost" [EMAIL PROTECTED]
>fi
>
>And put the shell script into crontab to run every minute.
>(your milage may vary)
That could lead to a lot of clutter in your mailbox.
--
These are my opinions, not neces
[EMAIL PROTECTED] writes:
>Hi there. I did just set up a Linux box to time synchronize to a Cisco
>router. I would like to have a way to know whenever the Linux box
>stops synchronizing (because of any network connecticity issue, for
>instance). any ideas?
$!/bin/sh
if ! ntpq|grep '* name.of.rout
[EMAIL PROTECTED] wrote:
> Hi there. I did just set up a Linux box to time synchronize to a Cisco
> router. I would like to have a way to know whenever the Linux box
> stops synchronizing (because of any network connecticity issue, for
> instance). any ideas?
Poll it with an NTP client and check t
Hi there. I did just set up a Linux box to time synchronize to a Cisco
router. I would like to have a way to know whenever the Linux box
stops synchronizing (because of any network connecticity issue, for
instance). any ideas?
___
questions mailing list