Stopping Pushing “47 GETDISKUSED blah” for UID: 47 messages in Cpanel logwatch

Print Friendly, PDF & Email

Just a quick hint here to stop your daily logwatch email being filled up with messages like this:

Cp-Wrap[3624]: Pushing "47 GETDISKUSED enquiries domain.co.uk" to '/usr/local/cpanel/bin/eximadmin' for UID: 47 
Cp-Wrap[3624]: CP-Wrapper terminated without error

Just go to the /etc/logwatch/conf/ignore.conf file, and add the following lines:

###### REGULAR EXPRESSIONS IN THIS FILE WILL BE TRIMMED FROM REPORT OUTPUT #####
^Cp-Wrap.*?Pushing .*?GETDISKUSED.*?UID: 47
^Cp-Wrap.*?CP-Wrapper terminated without error

That will filter out those annoying lines. Simples!

Tags:

4 Responses to “Stopping Pushing “47 GETDISKUSED blah” for UID: 47 messages in Cpanel logwatch”

  1. Mibble October 15, 2010 at 7:48 pm #

    in secure.conf, about line 26 in ignore services why not add Cp-Wrap at the very end of the line?

    • steve October 15, 2010 at 9:52 pm #

      That would certainly stop everything from Cp-wrap, but I didn’t want to stop all messages – just the most common annoying ones.

  2. boredadmin May 31, 2010 at 10:46 am #

    This was driving me crazy too; thanks for the quick fix 🙂

Trackbacks/Pingbacks

  1. How to ignore Cp-Wrap messages in /var/log/secure - cPanel Forums - September 27, 2010

    […] Although I haven't had any messages from cp-wrap I care about *yet*, I don't want to exclude impotant messages in the future. I found this post to be a better solution, although it does invoke 2 regexes: Stopping Pushing “47 GETDISKUSED blah” for UID: 47 messages in Cpanel logwatch | Website… […]

Leave a Reply

Bot test * Time limit is exhausted. Please reload the CAPTCHA.