'/var/log/wtmp' log file growth ...

Comments

1 comment

  • Official comment
    Avatar
    Alex

    Hi

    What version of cmon are you running? There have been improvement there in terms of how often we need to create ssh connections.

    $ cmon --version

    Unfortunately wtmp logging behavior depends on the linux distribution you are using. Each ssh connection that creates an interactive session is logged/tracked and as far as I know there is no way to disable that.

    You can limit the size of wtmp log file using for example logrotate.

    Please see this post for instructions https://severalnines.com/blog/clustercontrol-tips-tricks-wtmp-log-rotation-settings-sudo-user

     

Please sign in to leave a comment.

Powered by Zendesk