3 Replies Latest reply on Sep 2, 2008 3:32 AM by dconvery

    logrotate scripts ...

    ivanmara Novice

       

      Hello ... have anybody working logrotate configuration file for corect rotating logs in /var/log/vmware

       

       

      now  i clear them manualy ... i am not sure that it is right

       

       

      CentOS 5.2 

       

       

       

       

       

        • 1. Re: logrotate scripts ...
          dconvery Virtuoso
          vExpert

          From the security hardening WP:

           

          For the three files in /etc/logrotate.d—vmkernel, vmksummary, and vmkwarning—it is recommend

          that the configuration be modified to:

          Increase the size of the log file to 4096k.

          Enable compression by setting the line compress instead of nocompress.

           

           

           

          So, for /etc/logrotate.d/vmkernel - do a search for  uncompress and change it to compress

           

           

           

          do a search for size and change it to size 4096K or less

           

           

           

          Repeat for the other files.

           

           

           

          Dave

          • 2. Re: logrotate scripts ...
            nick.couchman Champion

            This sounds like information for the ESX line of VMware stuff.  The hosted products don't have a "vmkernel" or associated log files.  For Linux-based hosted products, you'll need to copy one of the existing logrotate files and use it as a template or create your own new one.

            • 3. Re: logrotate scripts ...
              dconvery Virtuoso
              vExpert

              His post said "have anybody working logrotate configuration file for corect rotating logs in /var/log/vmware". I assumed vmware. But yeah, same thing for linux.