NT Event Log

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

By RMA
Ha ha. Then DLL should be located on system where RMA is running :)
EventLogDlls should be created in RMA's home folder.

Regards
Alex
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

Doesn't work !!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May we have access to your system?

Regards
Alex
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

Sorry, but I'm not the security admin and I don't think that will be done :(
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

What exact version of Trend Micro antivirus does generate event, you are monitoring using "NT Event Log" test method?

Regards,
Max
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What version of the agent do you use?

Regards
Alex
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Also, what exact EventId do you monitor?

Regards,
Max
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

What exact version of Trend Micro antivirus does generate event
Trend server Protect 5.5
you are monitoring using "NT Event Log" test method?
Exact
What version of the agent do you use?
3.38
Also, what exact EventId do you monitor?
211, 212, 220
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

We have installed Trend Micro and tested RMA, everything works fine.

Probably, you did not understand me or made something wrong. Lets clear it up.
Lets consider, HostMonitor is running on system A. RMA is running on system B. RMA is checking event log on system C.
So, on system C, you should start regedit.exe or Regedt32.exe and export
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SpntLog] key to certain text file (e.g. spnt.reg). After that you should copy it to system B (where RMA is running). On system B, you should start regedit.exe or Regedt32.exe and import this spnt.reg file into the registry. Now there are 2 options
1) on system B create EventLogDlls\ subdirectory in RMA's home folder and copy specified DLL (EventMsg2.dll) into this subfolder (copy DLL from system C to system B where RMA is running)
2) or you may modify path specified in the registry to fit your existing folder structure and copy specified DLL into that folder (e.g. c:\Windows\system32\)
That's all.

For instance, on my system, exported key looks like:

Code: Select all

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SpntLog]
"CategoryMessageFile"="C:\\WINDOWS\\system32\\EventMsg2.dll"
"EventMessageFile"="C:\\WINDOWS\\system32\\EventMsg2.dll"
"ParameterMessageFile"="C:\\WINDOWS\\system32\\EventMsg2.dll"
"CategoryCount"=dword:00000008
"TypesSupported"=dword:00000007
After importing registry key to system B, I have copied EventMsg2.dll from systemC to C:\WINDOWS\system32 on systemB.

Regards,
Max
qwerty
Posts: 15
Joined: Thu Sep 12, 2013 5:48 am

Post by qwerty »

Hello,

We have same issue:
1. server01 - HM
2. server01 - RMA
3. Wants to get any errors from System Log

Get the reply:

Code: Select all

Reply   : Message not found.  Insertion strings:

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\System]
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Why are you running HostMonitor and RMA on the same system (server01)?
Test is performed by agent? Version?
Agent checks some remote system (server02)? Window? Service Pack?
Have you created EventLogDlls\ subdirectory?
Have you created registry record?

Regards
Alex
qwerty
Posts: 15
Joined: Thu Sep 12, 2013 5:48 am

Post by qwerty »

Why are you running HostMonitor and RMA on the same system (server01)?
This is test setup - I want to check local server.
Test is performed by agent? Version?
Test by: HostMonitor 9.58
Agent checks some remote system (server02)? Window? Service Pack?
Tried now one server with the same result: Microsoft Windows Server 2008 R2, Enterprise x64 Edition Version 6.1 (Build 7601 : Service Pack 1) (x64) Server Full Installation
Have you created EventLogDlls\ subdirectory?

Code: Select all

"c:\Program Files (x86)\HostMonitor\EventLogDlls"
"c:\Program Files (x86)\HostMonitor\RMA-Win\EventLogDlls"
both with wevtapi.dll
Have you created registry record?
Which record in my case ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you check local system then it should work...
What exactly event is not processed?

Regards
Alex
qwerty
Posts: 15
Joined: Thu Sep 12, 2013 5:48 am

Post by qwerty »

What exactly event is not processed?

Code: Select all

EVENTCREATE /T ERROR /ID 1000 /L SYSTEM /D "My application error mesaage"
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

EventCreate? Yes, Windows API will return error for such events. You may try Windows Event Viewer, result should be the same

Regards
Alex
Post Reply