Opened 11 years ago

Closed 11 years ago

#256 closed enhancement (fixed)

Windows Event log missing log source

Reported by: edwardk Owned by: somebody
Priority: minor Milestone: Release 6.1
Component: smartd Version: 6.0
Keywords: windows Cc:

Description

The Windows Event log service does not have a message file registered when the smartd service is installed. This results in Event log messages similar to:

The description for Event ID ( 2 ) in Source ( smartd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: smartd, 3648, Info, Device:
.\scsi1: [areca_disk#08_enc#01], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 69 to 68, Device:
.\scsi1: [areca_disk#08_enc#01], SMART Usage Attribute: 194 Temperature_Celsius changed from 31 to 32.

Registry entry keys can be added to fix this issue at

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\smartd

For my system:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\smartd]
"EventMessageFile"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,\
  00,6d,00,20,00,46,00,69,00,6c,00,65,00,73,00,20,00,28,00,78,00,38,00,36,00,\
  29,00,5c,00,47,00,53,00,6d,00,61,00,72,00,74,00,43,00,6f,00,6e,00,74,00,72,\
  00,6f,00,6c,00,5c,00,62,00,69,00,6e,00,5c,00,73,00,79,00,73,00,6c,00,6f,00,\
  67,00,65,00,76,00,74,00,2e,00,65,00,78,00,65,00,00,00
"TypesSupported"=dword:00000007

Attachments (1)

eventlog.png (4.1 KB ) - added by edwardk 11 years ago.
Registry Editor screenshot

Download all attachments as: .zip

Change History (5)

by edwardk, 11 years ago

Attachment: eventlog.png added

Registry Editor screenshot

comment:1 by edwardk, 11 years ago

To clarify, EventMessageFile should point to where ever the user's copy of syslogevt.exe.

comment:2 by Christian Franke, 11 years ago

Keywords: windows added; eventlog removed
Resolution: worksforme
Status: newclosed

Run "syslogevt -r smartd" to create the registry entry.

comment:3 by Christian Franke, 11 years ago

Milestone: Release 6.1
Resolution: worksforme
Status: closedreopened

comment:4 by Christian Franke, 11 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.