Re: [ntp:questions] Problem monitoring NTP synchronization status

2008-04-23 Thread Harlan Stenn
>>> 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

Re: [ntp:questions] Problem monitoring NTP synchronization status

2008-04-23 Thread Ryan Malayter
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

Re: [ntp:questions] Problem monitoring NTP synchronization status

2008-04-22 Thread Unruh
[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

Re: [ntp:questions] Problem monitoring NTP synchronization status

2008-04-22 Thread Hal Murray
>$!/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

Re: [ntp:questions] Problem monitoring NTP synchronization status

2008-04-22 Thread Unruh
[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

Re: [ntp:questions] Problem monitoring NTP synchronization status

2008-04-22 Thread David Woolley
[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

[ntp:questions] Problem monitoring NTP synchronization status

2008-04-22 Thread eespejel
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