VMware Cloud Community
binary10
Contributor
Contributor
Jump to solution

Disable wtmp log

Hi folks,

We have a monitoring software that connects to our ESX hosts in a rate that makes the wtmp log explode.

It is my understanding that you can delete the wtmp file, and it won't be recreated until the host is booted. Is there any way to completely disable the file, or somehow limit it in size?

0 Kudos
1 Solution
3 Replies
JCMorrissey
Expert
Expert
Jump to solution

Hi,

I believe what you are looking for is in here

http://communities.vmware.com/message/326936#326936

You can amend the logrotate to specify limits etc on the file.

regards

Please consider marking as "helpful", if you find this post useful. Thanks!... http://johncmorrissey.wordpress.com/
0 Kudos
binary10
Contributor
Contributor
Jump to solution

As far as i can see - that does not cover the wtmp log?

The problem is the /var/log/secure and /var/log/wtmp files.

Because of the massive amount of shhd entries, the files grow very large, very quickly.

0 Kudos