Server IP : 192.64.112.168 / Your IP : 3.137.174.189 Web Server : Apache System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : expressoneac ( 1128) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/mcelog/triggers/ |
Upload File : |
#!/bin/sh # This shell script can be executed by mcelog in daemon mode when a DIMM # exceeds a pre-configured error threshold # # environment: # THRESHOLD human readable threshold status # MESSAGE Human readable consolidated error message # TOTALCOUNT total count of errors for current DIMM of CE/UC depending on # what triggered the event # LOCATION Consolidated location as a single string # DMI_LOCATION DIMM location from DMI/SMBIOS if available # DMI_NAME DIMM identifier from DMI/SMBIOS if available # DIMM DIMM number reported by hardware # CHANNEL Channel number reported by hardware # SOCKETID Socket ID of CPU that includes the memory controller with the DIMM # CECOUNT Total corrected error count for DIMM # UCCOUNT Total uncorrected error count for DIMM # LASTEVENT Time stamp of event that triggered threshold (in time_t format, seconds) # THRESHOLD_COUNT Total umber of events in current threshold time period of specific type # # note: will run as mcelog configured user # this can be changed in mcelog.conf logger -s -p daemon.err -t mcelog "$MESSAGE" logger -s -p daemon.err -t mcelog "Location: $LOCATION" [ -x ./dimm-error-trigger.local ] && . ./dimm-error-trigger.local exit 0