BB Unix Network Monitor - Message

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

Re: {bb} logadm : /var/log/messages is empty



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My method is adding mark.debug to syslog.conf on the /var/adm/messages
line. It will write a --MARK-- every once in awhile to the syslog,
helpful for other reasons too (the machine crashed but the last thing it
wrote was several hours prior, etc.)

Josephine Tsikoudaki wrote:
> Hi
> 
> Since i don't want to disable the CHKMSGLEN I added the logger in
> crontab to be executed after logadm
> 
> I think it works! :-)
> 
> Thank you all for the help!
> 
> Josephine
> 
> Tom Schmidt wrote:
>> You can also set the CHKMSGLEN variable to FALSE in the
>> bbc/etc/bbdef-client.sh script to tell BB not to check the size of the
>> messages file.  The default value is TRUE.
>>
>> Tom
>>
>> Robert Sigillito wrote:
>>> Josephine,
>>>
>>> The easiest way I found was to put the following line in root's crontab:
>>>
>>> /usr/bin/logger -p alert "Syslog Rotated"
>>>
>>> bob
>>>
>>>
>>> Josephine Tsikoudaki wrote:
>>>
>>>> Hello,
>>>>
>>>> I am running bb client in Solaris 9 and i am using logadm to rotate
>>>> log files
>>>> The problem is that I get an alert every time the file is being
>>>> rotated for as long as it is empty.
>>>>
>>>> I would like to avoid this alarms without disabling the msg check
>>>>
>>>> While searching in the bb archives I found a similar problem that
>>>> was solved by adding a line to the newsyslog file, so every time the
>>>> file rotates, a line is added and the file is not empty...
>>>>
>>>> Is there any way to do this (or something similar) using logadm?
>>>>
>>>> Thank you all in advance
>>>>
>>>> josephine
>>>>
>>>> -- 
>>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
>>>> 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.
>>>
>>>
>>> -- 
>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
>>> 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.
>>
> 

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$&| |__| |  | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFv8Rcmb+gadEcsb4RAjCHAJ9ZxYUyF6JLjkfA35aekBEX6FBb2QCgw0DE
J+KFkAIxfbATBYp3SYJfN2E=
=bZOg
-----END PGP SIGNATURE-----

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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