Article View: news.software.nntp
Article #6272Re: How to get warnings *before* server is throttled?
From: Peter Peters
Date: Wed, 03 Apr 1996 00:00
Date: Wed, 03 Apr 1996 00:00
29 lines
2018 bytes
2018 bytes
In article <8268bjw8j3.fsf@hawk.eecs.umich.edu> hucka@eecs.umich.edu (Michael
Hucka) writes:
>Alternatively, is there a way to configure innwatch.ctl to do that? (I
>browsed the sources for innwatch and didn't see a way of rigging that, but
>maybe I missed a clever way of doing it.)
Originaly the next lines is in my innwatch.ctl:
!!! bdf . | awk 'NR == 2 { print $4 }' ! lt ! 4000 ! throttle ! No space (sp)
Innwatch should go through that file and execute the command between the third
and fourth "!", check whether it is "lt" the value between the next two "!"'s.
If so innwatch issues a "ctlinnd <whatever between ! nr 6 and 7> <reason after
! nr 7>
If I would want to do the things you want I would add something like:
!!! bdf . | awk 'NR == 2 { print $4 }' ! lt ! 10000 ! reserve ! No space (sp)
This will reserve innd so anybody running ctlinnd mode would see this state
and innwatch mails a message to your staff. The staff can take action and
afterwards issue a ctlinnd reserve "" to clear the message.
Peter Peters
--
_ __ _ __ | Universiteit Twente
' ) ) _/_ ' ) ) _/_ | CIV - TSO (TWRC D108)
/--' _ / _ __ /--' _ / _ __ _ | voice (053) 489 23 01
/ </_<__</_/ (_ / </_<__</_/ (_/_)_ | fax (053) 489 23 83
http://www.nic.utwente.nl/peter/index.html
Technical Details
Message-ID:
<p.g.m.peters.2760.3162954B@civ.utwente.nl>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-mailReferences:
<8268bjw8j3.fsf@hawk.eecs.umich.edu>Show Full Headers
Complete Article Headers
Message-ID: <p.g.m.peters.2760.3162954B@civ.utwente.nl> Subject: Re: How to get warnings *before* server is throttled? Date: Wed, 03 Apr 1996 00:00:00 +0000 From: p.g.m.peters@civ.utwente.nl (Peter Peters) References: <8268bjw8j3.fsf@hawk.eecs.umich.edu> 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: 145608972 Distribution: inet Organization: Universiteit Twente Newsgroups: news.software.nntp