BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:{bb} Red on empty /var/adm/messages file



It has been suggested before. Why not modify your logrotate utility to throw in
a date and a message that the log has been rotated out and write this into the
fresh empty log. If you do not want to modify your system utility, then you can
attach a task to your cronjob to pump the date and message into the new log
right after the rotate operation.

usually the adm crontab.....

i.e.
01 12 * * * echo "`date` : log flushed" >> /var/adm/messages

Do not use just ">" something may be coming in that you do not want to
accidentally vaporize.


____________________Reply Separator____________________
Subject:    {bb} Red on empty /var/adm/messages file 
Author: <bb@bb4.com>
Date:       2/1/2000 4:21 AM


I get red signals every morning as the logs are rotated and the
/var/adm/messages file contains zero lines.
Is there some best or suggested way to fix this or should I not fix it (i.e.,
remove the warning when /var/adm/messages contains nothing)?

Alan



----------
Alan Factor
AFactor LLC
(O)  888-707-4900
(C)  888-707-4988
(P)  800-408-2487
(Epage)  pager@afactor.com
(Email)   afactor@afactor.com
www.afactor.com

----------
<html><div>I get red signals every morning as the logs are rotated and
the /var/adm/messages file contains zero lines.</div>
<div>Is there some best or suggested way to fix this or should I not fix
it (i.e., remove the warning when /var/adm/messages contains
nothing)?</div>
<br>
<div>Alan</div>
<br>
<br>

<hr>
Alan Factor<br>
AFactor LLC<br>
(O)&nbsp; 888-707-4900<br>
(C)&nbsp; 888-707-4988<br>
(P)&nbsp; 800-408-2487<br>
(Epage)&nbsp;
<a href="mailto:pager@afactor.com" eudora="autourl">pager@afactor.com</a><br>
(Email)&nbsp;&nbsp;
<a href="mailto:afactor@afactor.com"
eudora="autourl">afactor@afactor.com</a><br>
<a href="http://www.afactor.com/" eudora="autourl">www.afactor.com</a><br>
<hr>
</html>
 

Received: from www.maclawran.ca [204.19.117.80] by mail.acs-gsg.com (ccMail Link to SMTP R8.30.00.7)
	; Tue, 01 Feb 2000 07:25:58 -0500
Return-Path: <owner-bb@bb4.com>
Received: from localhost (daemon@localhost)
	by www.maclawran.ca (8.9.1a/8.8.8) with SMTP id HAA02283;
	Tue, 1 Feb 2000 07:26:07 -0500 (EST)
	(envelope-from owner-bb@bb4.com)
Received: by www.maclawran.ca (bulk_mailer v1.12); Tue, 1 Feb 2000 07:24:20 -0500
Received: (from majordom@localhost)
	by www.maclawran.ca (8.9.1a/8.8.8) id HAA27147
	for bb-list; Tue, 1 Feb 2000 07:24:19 -0500 (EST)
	(envelope-from owner-bb@bb4.com)
Received: from proxy4.ba.best.com (root@proxy4.ba.best.com [206.184.139.15])
	by www.maclawran.ca (8.9.1a/8.8.8) with ESMTP id HAA27141
	for <bb@bb4.com>; Tue, 1 Feb 2000 07:24:17 -0500 (EST)
	(envelope-from afactor@afactor.com)
Received: from alfactor3 (alfactor3.tychonet.com [205.179.60.115])
	by proxy4.ba.best.com (8.9.3/8.9.2/best.out) with SMTP id EAA18492
	for <bb@bb4.com>; Tue, 1 Feb 2000 04:22:37 -0800 (PST)
Message-Id: <200002011222.EAA18492@proxy4.ba.best.com>
X-Sender: afactor@fpage1.ba.best.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2 
Date: Tue, 01 Feb 2000 04:21:41 -0800
To: bb@bb4.com
From: Alan Factor <afactor@afactor.com>
Subject: {bb} Red on empty /var/adm/messages file
Mime-Version: 1.0
Content-Type: multipart/alternative;
	types="text/plain,text/html";
	boundary="=====================_306156972==_.ALT"
Sender: owner-bb@bb4.com
Reply-To: bb@bb4.com

Home | Main Index | Thread Index