JBoss ON agent reporting error "org.hyperic.sigar.win32.Win32Exception: Buffer size (8192) too small (10332 needed)" when retrieving Windows event logs

Solution Unverified - Updated

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • Windows

Issue

  • agent reporting error like:
2016-02-08 08:43:04,947 INFO  [EventManager.poller-3] (rhq.plugins.platform.win.Win32EventLogDelegate)- An error occurred while reading the Windows Event Log [Application]
org.hyperic.sigar.win32.Win32Exception: Buffer size (8192) too small (10332 needed)
	at org.hyperic.sigar.win32.EventLog.readlog(Native Method)
	at org.hyperic.sigar.win32.EventLog.read(EventLog.java:98)
	at org.rhq.plugins.platform.win.Win32EventLogDelegate.checkForNewEvents(Win32EventLogDelegate.java:131)
	at org.rhq.plugins.platform.win.Win32EventLogDelegate.poll(Win32EventLogDelegate.java:189)
	at org.rhq.core.pc.event.EventPollerRunner.run(EventPollerRunner.java:56)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Resolution

This issue has been reported as This content is not included.BZ-1307104 to be addressed in a future release of JBoss ON.

SBR
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.