Dell OpenManage and their TTY logs

Kaj Niemi kajtzu at basen.net
Mon Oct 6 07:57:27 CDT 2008


Hi,


As you have RHEL5 I'm kind of assuming you have logrotate installed.  
If so, create /etc/logrotate.d/omsa-tty (name doesn't matter)  
containing approximately the following:

/var/log/TTY_00000000.log {
     missingok
     daily
     notifempty
     rotate 15
     compress
}

Once the file gets rotated OMSA will create another. If daily is too  
aggressive try "weekly" instead.



On Oct 6, 2008, at 12:36, Tobias Sandhaas wrote:

> Hello,
>
>
> on most on our servers we have a bunch of TTY and EMM
> logs (eg TTY_00000000.log) which are already huge and
> are continuously increasing in size.
>
> First of all it is rather disturbing to have a program
> directly write important files to /var/log/. Normally
> such information should not be written directly but
> by using system tools like syslog. By doing this other
> tools (like log-analysis tools) are easily able to handle
> these information and the burden on the administrator side
> is reduced.
>
> Additionally the current state is not satisfactory. That
> means that i am not able to rotate/clear/disable the
> exiting logfiles. Everytime i remove or truncate the
> logfiles, they will be rewritten with exactly *all*
> the older informations, i am not interested in. For
> example raid/SAS informations which are months old!
> It is not only the size which matters, but in fact the
> inability to control these informations.
>
> Remark: I have tried all things i can image, like
> - truncating the TTY files (zero size)
> - removing the TTY files
> - Restarting the OM-Services (dataeng + dsm_om_shrsvc)
> - Stopping the OM-Services, truncating logfiles and Re-starting.
>
>
> My question:
> - Is there any way to really rotate the logfiles?
>   (Did i oversee something?)
> - If not, is there a way to disable the logfiles?
>
> I urge the developers to think and improve this log situation
> as soon as possible! This is not acceptable for us. I really
> recommend a syslog-logging feature.
>
>
> Example Hardware:
> Poweredge 1950 with Perc5e + Perc5i + md1000
> with up-to-date firmware, Dell OM 5.2 and current RHEL5 kernel.
>
>
> Regards
> Tobias Sandhaas
> -- 
> Tobias Sandhaas                  GPG Key ID: 0x1F6B4D4F
>
>
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq





Kaj
-- 
Kaj J. Niemi
<kajtzu at basen.net>
+358 45 63 12000



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3833 bytes
Desc: not available
Url : http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20081006/fa695f04/attachment.p7s 


More information about the Linux-PowerEdge mailing list