On Thu, 23 Dec 2010, Gilbert Sebenste wrote:
Hey, gang! Let me throw out a couple of these monitoring examples...
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /bin/bash -l -c 'wasReceived -f
"WMO|NIMAGE|NGRID|NEXRAD3" -o 5' || echo NOAAPORT data-products have not been
received in the last 5 minutes
1,11,21,31,41,51 * * * * /bin/bash -l -c 'wasReceived -f "NEXRAD2" -o 10' ||
echo LEVEL2 data-products have not been received in the last 10 minutes
1,11,21,31,41,51 * * * * /bin/bash -l -c 'wasReceived -f "LIGHTNING" -o 10'
|| echo USPLN data-products have not been received in the last 10 minutes
Bzzzzt. Steve had a brain freeze and forgot to tell me the times are in
SECONDS, not minutes. I sent him a memo offline that the USPLN entry above
was sending me email every 5 minutes because it said no data had been
received in the last 10 minutes. Well, it turns out that it was no data in
the last 10 seconds, which is correct. :-) So, the times above
are not correct. As of now, this is what I check for:
# See if NOAAport and other feeds are up and running.
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /bin/bash -l -c 'wasReceived -f
"WMO|NIMAGE|NGRID|NEXRAD3" -o 180' || echo NOAAPORT data-products have not been
received in the last 3 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /bin/bash -l -c 'wasReceived -f
"NEXRAD2" -o 180' || echo LEVEL2 data-products have not been received in the
last 3 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /bin/bash -l -c 'wasReceived -f
"LIGHTNING" -o 180' || echo USPLN data-products have not been received in the
last 3 minutes
# 2,17,32,47 * * * * /bin/bash -l -c 'wasReceived -f "NLDN" -o 900' || echo
NLDN data-products have not been received in the last 15 minutes
2 * * * * /bin/bash -l -c 'wasReceived -f "FNEXRAD" -o 1800' || echo FNEXRAD
data-products have not been received in the last 30 minutes
3 * * * * /bin/bash -l -c 'wasReceived -f "UNIWISC" -o 3600' || echo McIDAS
data-products have not been received in the last hour-wake Tom Yoksas up, drag him out of
bed
4 * * * * /bin/bash -l -c 'wasReceived -f "FSL2" -o 3600' || echo FSL2
data-products have not been received in the last hour
NLDN has been commented out until the feed comes back, of course.
Furthermore, the LDM 6.9 has been rigged so that a loud, 130 dB
alarm goes off in Tom Yoksas' bedroom at night when the McIDAS feed goes
down, as a trap door opens up and drops him into a waiting car which
whisks him to UNIDATA to fix the problem. I told you LDM 6.9 was really
cool! ;-)
Merry Christmas everyone!
*******************************************************************************
Gilbert Sebenste ********
(My opinions only!) ******
Staff Meteorologist, Northern Illinois University ****
E-mail: sebenste@xxxxxxxxxxxxxxxxxxxxx ***
web: http://weather.admin.niu.edu **
*******************************************************************************