Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Reducing Unnecessary WHM/Cron Notification Emails, Sytem Updates, Integrity

Discussion in 'General Discussion' started by jazee, Jun 10, 2019.

  1. jazee

    jazee Well-Known Member

    Joined:
    Jan 12, 2015
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    I'm tired of getting bombarded with email notifications that are regarding normal system operations. Specifically the system update emails with subject <[email protected] name> (/usr/local/cpanel/scripts/fix-cpanel-perl; /usr/local/cpanel/scripts/upcp --cron)

    I only want to get emails when there is an error/problem.

    In addition every time there is an update there's an email about an MD5 check failure on System Integrity which is a false alert since it was caused by a system update. I'm a little surprised the system isn't 'smart' enough to filter these out caused by a System Update.

    These things combined essentially create a frequent mess (when you have multiple servers) of notifications that don't actually pertain to a useful warning or critical error state. It's causing a "Boy Who Cried Wolf" scenario that now I'm so used to ignoring and deleting them it's likely I'll overlook one that is flagging an actual problem!
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,529
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @jazee,

    We're changing the behavior in cPanel & WHM version 82 so that cPanel update cron job notifications are only sent when there's a failure. For reference, the case number is CPANEL-26113.

    Can you provide an example of a specific instance when this occurred? Include the notification subject and body, but exclude any identifying information about your server.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jazee

    jazee Well-Known Member

    Joined:
    Jan 12, 2015
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    You get these after every system update (I believe generated by LFD)

    Code:
    Subject: lfd on [redacted]: System Integrity checking detected a modified system file
    
    
    Time:     Tue Jun 11 01:35:18 2019 -0700
    
    
    The following list of files have FAILED the md5sum comparison test. This means that the file has been changed in some way. This could be a result of an OS update or application upgrade. If the change is unexpected it should be investigated:
    
    
    /usr/bin/cpupower: FAILED
    
    /usr/bin/dig: FAILED
    
    /usr/bin/gapplication: FAILED
    
    /usr/bin/gdbus: FAILED
    
    /usr/bin/gio: FAILED
    
    /usr/bin/gio-querymodules-64: FAILED
    
    /usr/bin/glib-compile-schemas: FAILED
    
    /usr/bin/gsettings: FAILED
    
    /usr/bin/host: FAILED
    
    /usr/bin/isc-config.sh: FAILED
    
    /usr/bin/nslookup: FAILED
    
    /usr/bin/nsupdate: FAILED
    
    /usr/sbin/arpaname: FAILED
    
    /usr/sbin/ddns-confgen: FAILED
    
    /usr/sbin/dnssec-dsfromkey: FAILED
    
    /usr/sbin/dnssec-importkey: FAILED
    
    /usr/sbin/dnssec-keyfromlabel: FAILED
    
    /usr/sbin/dnssec-keygen: FAILED
    
    /usr/sbin/dnssec-revoke: FAILED
    
    /usr/sbin/dnssec-settime: FAILED
    
    /usr/sbin/dnssec-signzone: FAILED
    
    /usr/sbin/dnssec-verify: FAILED
    
    /usr/sbin/genrandom: FAILED
    
    /usr/sbin/isc-hmac-fixup: FAILED
    
    /usr/sbin/lwresd: FAILED
    
    /usr/sbin/named: FAILED
    
    /usr/sbin/named-checkconf: FAILED
    
    /usr/sbin/named-checkzone: FAILED
    
    /usr/sbin/named-compilezone: FAILED
    
    /usr/sbin/named-journalprint: FAILED
    
    /usr/sbin/nsec3hash: FAILED
    
    /usr/sbin/rndc: FAILED
    
    /usr/sbin/rndc-confgen: FAILED
    
    /bin/cpupower: FAILED
    
    /bin/dig: FAILED
    
    /bin/gapplication: FAILED
    
    /bin/gdbus: FAILED
    
    /bin/gio: FAILED
    
    /bin/gio-querymodules-64: FAILED
    
    /bin/glib-compile-schemas: FAILED
    
    /bin/gsettings: FAILED
    
    /bin/host: FAILED
    
    /bin/isc-config.sh: FAILED
    
    /bin/nslookup: FAILED
    
    /bin/nsupdate: FAILED
    
    /sbin/arpaname: FAILED
    
    /sbin/ddns-confgen: FAILED
    
    /sbin/dnssec-dsfromkey: FAILED
    
    /sbin/dnssec-importkey: FAILED
    
    /sbin/dnssec-keyfromlabel: FAILED
    
    /sbin/dnssec-keygen: FAILED
    
    /sbin/dnssec-revoke: FAILED
    
    /sbin/dnssec-settime: FAILED
    
    /sbin/dnssec-signzone: FAILED
    
    /sbin/dnssec-verify: FAILED
    
    /sbin/genrandom: FAILED
    
    /sbin/isc-hmac-fixup: FAILED
    
    /sbin/lwresd: FAILED
    
    /sbin/named: FAILED
    
    /sbin/named-checkconf: FAILED
    
    /sbin/named-checkzone: FAILED
    
    /sbin/named-compilezone: FAILED
    
    /sbin/named-journalprint: FAILED
    
    /sbin/nsec3hash: FAILED
    
    /sbin/rndc: FAILED
    
    /sbin/rndc-confgen: FAILED
    
    /etc/init.d/httpd: FAILED open or read
     
    #3 jazee, Jun 12, 2019
    Last edited by a moderator: Jun 13, 2019
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,529
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @jazee,

    This message is coming from your CSF/LFD plugin. You may want to consider reporting a bug to the ConfigServer bug report forums to request an improvement to how this notification detects file checksum changes after updates to your system's RPMs:

    Report Bugs (csf) - ConfigServer Community Forum

    Alternatively, you could disable that notification in your CSF configuration settings and use an alternative such as Immunify360:

    Imunify360 - home

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Similar Threads - Reducing Unnecessary Cron
  1. gizmo80
    Replies:
    4
    Views:
    725

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice