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



If you don't want to hack Solaris (and have to remember this change whenever
you upgrade, install a new Solaris box, etc.), another option is to edit
bb-local.sh and change the following line under the MSGFILE section:
 
change
    if [ ! -r "$file" -o ! -s "$file" ]
to
    if [ ! -r "$file" ]
 
I'm not sure why BB considers an empty message file a problem, but it
definitely shouldn't be a 'red' alert.

-----Original Message-----
From: Alan Factor [mailto:afactor@afactor.com]
Sent: Wednesday, February 02, 2000 4:46 PM
To: bb@bb4.com
Subject: Re: {bb} Red on empty /var/adm/messages file


love it-
Alan

At 01:37 PM 2/1/00 +0100, you wrote:
>Hello,
>
>At 4:21 Uhr -0800 01.02.2000, Alan Factor wrote:
>>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)?
>
>I change /usr/lib/newsyslog (on Solaris) and add a line at bottom:
>
>echo "Reset of Logfile" >>/var/adm/messages
>
>Thats enough.
>
>Frank
>
>--
>ECCE TERRAM GmbH                        Frank Simon
>Heinrichstrasse 18d                     Tel. 0441 / 500 12-0
>26131 Oldenburg                         Fax. 0441 / 500 12-29
>"Es gibt zwei Taetigkeiten auf dieser Welt, die man dringend
>  abschaffen sollte: Buegeln und alte Tapete von den Waenden pulen" (hh)
>--
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
>To unsubscribe from this list, or to subscribe to the bb-digest list
>send e-mail to mailto:majordomo@bb4.com <mailto:majordomo@bb4.com>  with
unsubscribe bb -and/or-
>subscribe bb-digest in the BODY of the message.
> 

  _____  

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

  _____  


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index