[ZBXNEXT-934] Support of new eventlog type "Applications and services log" on windows Vista, 2008, 7 Created: 2011 Aug 30 Updated: 2014 Feb 18 Resolved: 2014 Feb 13 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature Request | Priority: | Major |
Reporter: | Kodai Terashima | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 2 |
Labels: | eventlog | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Windows Vista, 2008, 7 |
Attachments: | Zabbix_WindowsEventLogs.png | ||||||||
Issue Links: |
|
Description |
Windows agent doesn't support new type eventlog "Applications and Service Logs" on Windows Vista, 2008, 7 See also "Applications and Services Logs" on Microsoft TechNet |
Comments |
Comment by richlv [ 2011 Sep 05 ] |
just to clarify, is this different from |
Comment by Kodai Terashima [ 2011 Sep 06 ] |
Yes. |
Comment by Joel Reed [ 2013 Mar 28 ] |
I've run into this issue myself and have some additional information to contribute that hopefully could shed some light on the issue. These new "Application and Services Logs" within the Windows GUI are displayed in a hierarchy but in reality are stored in a single flat location on the file system, the same location as the traditional Application, System, etc. Most of these newer event logs have unusual file names. The names themselves contain a '/' character which is encoded within the file name to '%4'. So within the GUI you see an event log named, "Microsoft-Windows-TaskScheduler/Operational", but on the file system its actual name is "Microsoft-Windows-TaskScheduler%4Operational". I can successfully pull all traditional Event Logs, even the handful of "Application and Services Logs" that don't contain a "/"(%4) in the name just fine. I think its this naming convention that is not getting handled incorrectly somewhere. Even if I use '%4' within the key value it gets encoded "properly" by the server/agent by the time it gets to the server. Below are the important bits from my debug logging at the agent side when the check is added and when it is executed and returns a failure. Attached as well is a screen cap of the file system location for Event Logs so you can see how the naming appears. I made these attempts using the Zabbix Win agent version 2.0.3 (and Zabbix Server 2.0.0). I've been unable to test with anything higher but I don't see in any of the release notes that the EventLog functionality has undergone any changes. I'll try and tested with later revisions and post again if I see any changes. 2140:20130328:112015.469 End of send_buffer():SUCCEED ] , , ]}] 2140:20130328:112119.516 In send_buffer() host:'zabbixserv.acme.com' port:10051 values:0/100 |
Comment by Joel Reed [ 2013 Mar 28 ] |
File system displays the actual Event Log file names. Newer logs contain the '%4' character that possibly prevents eventlog[] active key from working. |
Comment by Takanori Suzuki [ 2013 Aug 07 ] |
With my patch posted in |
Comment by Robert Riskin [ 2013 Sep 10 ] |
Hello, i'm just confirming that I am having this problem on Zabbix 2.0.6. I can monitor System, Security, and Application logs but anything within that winevt/Logs folder with %4 or '/' I cannot monitor. I'm particularly interested in the Firewall log. Is there a way to get the patched executable from |
Comment by richlv [ 2014 Feb 12 ] |
igor, |
Comment by Igors Homjakovs (Inactive) [ 2014 Feb 13 ] |
|
Comment by Robert Riskin [ 2014 Feb 18 ] |
Hello, I have upgraded my host to 2.2.2 and upgraded the agent I am trying to monitor to 2.2.1 and I am still getting a not supported in my agent logs: 13192:20140218:115240.786 cannot open eventlog 'Microsoft-Windows-TaskScheduler/Optional':[0x00003A9F] The specified channel could not be found. Check channel configuration. Can you please tell me if you can successfully monitor this and also what is the appropriate convention for monitoring the Applications and services logs? |