Hello,
I'm new about Zabbix. I'm monitoring Windows servers event log for security 4625 and 4767 id's.
Trigger name is " Account Problem-{ITEM.LASTVALUE1} " . When a trigger created half of my monitor is full
I looked on Zabbix forum and Google to use some of itemvalue with iregsub but I couldn't do it. I didn't understand parameters of regex and iregsub. I checked these posts;
https://www.zabbix.com/forum/search?q=iregsub&searchJSON=%7B"keywords"%3A"iregs ub"%7D
My servers itemlast value is (I deleted blank rows) ;
An account failed to log on.
Subject:
Security ID: S-1-5-18
Account Name: -ServerUserName-
Account Domain: -DOMAINname-
Logon ID: 0x3E7
Logon Type: 3
Account For Which Logon Failed:
Security ID: S-1-0-0
Account Name: -Username-
Account Domain: -DOMAINname-
Failure Information:
Failure Reason: Unknown user name or bad password.
Status: 0xC000006D
Sub Status: 0xC000006A
Process Information:
Caller Process ID: 0x308
Caller Process Name: C:\Windows\System32\lsass.exe
Network Information:
Workstation Name: -ServerName-
Source Network Address: -SourceIP-
Source Port: 50812
Detailed Authentication Information:
Logon Process: Advapi
Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon request fails. It is generated on the computer where access was attempted.
The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
The Process Information fields indicate which account and process on the system requested the logon.
The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
I want to use some information on trigger name. I can use it directly on trigger name or I can create user macros. Both ways solve my problem. How can I use values of under of Subject: Account Name: , Logon Type: , under of Logon Failed: Account Name: , Failure Reason: , Source Network Address: ? How can I filter these values with iregsub on itemvalue or user macro?
I'm new about Zabbix. I'm monitoring Windows servers event log for security 4625 and 4767 id's.
Trigger name is " Account Problem-{ITEM.LASTVALUE1} " . When a trigger created half of my monitor is full
I looked on Zabbix forum and Google to use some of itemvalue with iregsub but I couldn't do it. I didn't understand parameters of regex and iregsub. I checked these posts;https://www.zabbix.com/forum/search?q=iregsub&searchJSON=%7B"keywords"%3A"iregs ub"%7D
My servers itemlast value is (I deleted blank rows) ;
An account failed to log on.
Subject:
Security ID: S-1-5-18
Account Name: -ServerUserName-
Account Domain: -DOMAINname-
Logon ID: 0x3E7
Logon Type: 3
Account For Which Logon Failed:
Security ID: S-1-0-0
Account Name: -Username-
Account Domain: -DOMAINname-
Failure Information:
Failure Reason: Unknown user name or bad password.
Status: 0xC000006D
Sub Status: 0xC000006A
Process Information:
Caller Process ID: 0x308
Caller Process Name: C:\Windows\System32\lsass.exe
Network Information:
Workstation Name: -ServerName-
Source Network Address: -SourceIP-
Source Port: 50812
Detailed Authentication Information:
Logon Process: Advapi
Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon request fails. It is generated on the computer where access was attempted.
The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
The Process Information fields indicate which account and process on the system requested the logon.
The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
I want to use some information on trigger name. I can use it directly on trigger name or I can create user macros. Both ways solve my problem. How can I use values of under of Subject: Account Name: , Logon Type: , under of Logon Failed: Account Name: , Failure Reason: , Source Network Address: ? How can I filter these values with iregsub on itemvalue or user macro?
Comment