Article View: news.software.nntp
Article #29903INN 2.0: customizations?
From: Paul D. Smith
Date: Sat, 18 Jul 1998 00:00
Date: Sat, 18 Jul 1998 00:00
41 lines
2169 bytes
2169 bytes
So, the new automatic configure is cool. When it works.
But there's a serious lack of documentation about how to customize
things when they _don't_ work.
For example, I'm on a Solaris system and innwatch is using /bin/df to
find free space. Unfortunately, the device name where the spool is
stored is so large, it causes the awk script to get the wrong value as
the free blocks.
The default innwatch.ctl query for free disk is:
/bin/df . | awk 'NR == 2 { print $4 }'
This works fine for most partitions; df gives something like:
/ (/dev/dsk/c0t3d0s0 ): 213720 blocks 68116 files
so field 4 is the free blocks. But, on my spool disk I see:
/usr/spool/news (/dev/vx/dsk/rootdg/vspoolnews):10480988 blocks 1310121 files
You can see that everything is run together, and that awk script no
longer works.
What I wanted to do was change the DF command to be "/bin/df -k", which
behaves more correctly. So I went to inn-2.0/site and modified
innshellvars. I couldn't see any other way to do it.
But, when I type make in the top level or in the site subdirectory,
innwatch.ctl was not recreated! When does this happen? Do I have to do
something special?
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions--Bay Networks takes no responsibility for them.
Technical Details
Message-ID:
<p5r9zju2y4.fsf@baynetworks.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-mailShow Full Headers
Complete Article Headers
Message-ID: <p5r9zju2y4.fsf@baynetworks.com> Subject: INN 2.0: customizations? Date: Sat, 18 Jul 1998 00:00:00 +0000 From: psmith@baynetworks.com (Paul D. Smith) 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: 372578225 Organization: Bay Networks, Inc. / Billerica, MA Reply-To: psmith@baynetworks.com Newsgroups: news.software.nntp