🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7621

Re: How do I know if newsfeed has stopped?

#7621
From: Mike Pelletier
Date: Wed, 15 May 1996 00:00
20 lines
1529 bytes
In article <3199D96E.41C6@tornado.es.dupont.com>,
Scott C. Walker <walkersc@tornado.es.dupont.com> wrote:
>I am running an INN news server, and we have been having problems lately
>in getting news from our service provider.  I would like to know as soon
>as possible when this feed goes down, but the only way I've seen to know
>this is to keep looking at the SYSLOG or news.notice files.  Is there
>some function available that can email me when no new news is detected?

I've come up with a little script that compares the last line in the
history file's arrival time value with the current time, and if it's
over a certain threshold, say, two hours, it sends me mail.

Drop me a line and I'll mail you the script.  Depending on the OS
you're using it might need some tweaking to get the current time
expressed in seconds since epoch.  I'm using BSDI 2.0.

	-Mike Pelletier.

Technical Details
Message-ID: <4nd17g$6d6@valhalla.comshare.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <3199D96E.41C6@tornado.es.dupont.com>

Show Full Headers
Complete Article Headers
Message-ID: <4nd17g$6d6@valhalla.comshare.com>
Subject: Re: How do I know if newsfeed has stopped?
Date: Wed, 15 May 1996 00:00:00 +0000
From: Mike Pelletier <mikep@comshare.com>
References: <3199D96E.41C6@tornado.es.dupont.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 154971818
Distribution: inet
Sender: mikep@valhalla.comshare.com
Organization: Comshare, Inc. - Ann Arbor, Michigan
Newsgroups: news.software.nntp