SHA256
1
0
forked from pool/mcelog
Go to file
Thomas Renninger 69342a5d53 Accepting request 974669 from home:kodymo
- Update to version 181:
  * mcelog: Add support for Raptorlake
- Adopt patches to latest git version
M    Start-consolidating-AMD-specific-stuff.patch
M    add-f10h-support.patch
M    add-f11h-support.patch
M    add-f12h-support.patch
M    add-f14h-support.patch
M    add-f15h-support.patch
M    add-f16h-support.patch
M    email.patch
M    fix_setgroups_missing_call.patch
M    mcelog_invert_prefill_db_warning.patch
- Use Python3 shebang instead of python
A    python3_shebang
- Use Github URL

- Update to version 180:
  * Fix warnings in sysfs.c
  * mcelog: Change "DDR4" string to "DDR" for i10nm platforms
  * Fix logrotate syntax
  * remove outdated mcelog.conf.5 manual file
  * add furture print function for Python2
  * fix python errors in genconfig.py
  * fix the buf not freed in read_field
  * mcelog: Print warning for locked down kernel
  * mcelog: Handle sysfs files without length
  * Fix make test fail

OBS-URL: https://build.opensuse.org/request/show/974669
OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=99
2022-05-03 14:52:12 +00:00
_service Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
_servicedata Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
.gitattributes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mcelog?expand=0&rev=1 2007-01-15 23:24:56 +00:00
.gitignore OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mcelog?expand=0&rev=1 2007-01-15 23:24:56 +00:00
add-defines.patch Accepting request 728979 from home:MMuschner:branches:Base:System 2019-09-09 09:10:17 +00:00
add-f10h-support.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
add-f11h-support.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
add-f12h-support.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
add-f14h-support.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
add-f15h-support.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
add-f16h-support.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
email.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
fix_setgroups_missing_call.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
mcelog_invert_prefill_db_warning.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
mcelog-181.obscpio Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
mcelog-socket-path.patch Accepting request 250300 from home:elvigia:branches:Base:System 2014-09-22 08:53:25 +00:00
mcelog.changes Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
mcelog.obsinfo Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
mcelog.spec Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
mcelog.sysconfig - Remove test email address from config 2011-06-07 09:53:12 +00:00
mcelog.systemd Accepting request 881840 from home:ykurlaev:branches:Base:System 2021-03-29 11:44:52 +00:00
mcelog.tmpfiles Accepting request 250300 from home:elvigia:branches:Base:System 2014-09-22 08:53:25 +00:00
python3_shebang Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00
README.email_setup OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=14 2010-10-25 13:51:14 +00:00
Start-consolidating-AMD-specific-stuff.patch Accepting request 974669 from home:kodymo 2022-05-03 14:52:12 +00:00

MACHINE CHECK EXCPETION NOTIFICATION VIA EMAIL
==============================================

(C)opyright by Thomas Renninger <trenn@suse.de> Novell Inc. 2010

The setup to send Machine Check Exceptions (MCEs) via email relies on a
working smtp server listening on localhost on port 25.

How this can easily be configured is can be read up here:
http://en.opensuse.org/Mail_server_HOWTO
in the "Outgoing" section.

Test your setup by trying to send test mails via the "mail" shell command,
included in the mailx package.

Specify the email address where the MCEs should get mailed to here:
/etc/sysconfig/mcelog

You can filter MCE mails by matching against these mail headers.
Either one of these headers are set:
  - X-Mcelog-Uncorrectable
  - X-Mcelog-Correctable

and one of these are set:
  - X-Mcelog-Memory
  - X-Mcelog-CPU
  - X-Mcelog-Misc


NOTE: If broken HW results in an MCE storm of dozens and hundreds of MCEs,
mcelog will not sending them all to not overload the machine and network
traffic. If in doubt, check the local mcelog log files.


Autoyast
--------

For people making use of autoyast to spread similar installations on multiple
machines, here are some hints how to set up the email notification through
autoyast. Please read the autoyast documentation first if you are not familiar
with how to create an autoyast.xml file.

This simply sets the email address, notifications should get send to:

  <sysconfig config:type="list">
    <sysconfig_entry>
      <sysconfig_key>MCELOG_ADMIN_EMAIL</sysconfig_key>
      <sysconfig_path>/etc/sysconfig/mcelog</sysconfig_path>
      <sysconfig_value>trenn@suse.de</sysconfig_value>
    </sysconfig_entry>
 </sysconfig>


This is an example of how to set up postfix to listen on localhost and
sending/forwarding all mails coming in there through the smtp server
relay.suse.de.
The alias at the beginning forwards local machine notifications sent to root,
to trenn@suse.de. Like that mails interesting for the administrator can easily
be collected and sent to one email address. But this is just one possible mail
set up example.

<mail>
    <aliases config:type="list">
      <alias>
        <alias>root</alias>
        <destinations>trenn@suse.de</destinations>
      </alias>
    </aliases>
    <connection_type config:type="symbol">permanent</connection_type>
    <listen_remote config:type="boolean">false</listen_remote>
    <masquerade_other_domains config:type="list">
      <domain>suse.de</domain>
    </masquerade_other_domains>
    <mta config:type="symbol">postfix</mta>
    <outgoing_mail_server>relay.suse.de</outgoing_mail_server>
    <postfix_mda config:type="symbol">local</postfix_mda>
    <use_amavis config:type="boolean">false</use_amavis>
</mail>