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 -

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)

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content