The Foglight console is slow, overload messages are reported, the CPU usage on the FMS host is high, and a script associated with the Event Log rule is taking a lot of invocation time.
The Foglight console is slow.
The CPU usage on the FMS host has increased markedly. The CPU usage varies from about 100% - 400% on the Linux host.
The problem was noted after deploying WindowsAgents.
"overload" messages like the following are reported in the Management server logs.
2016-04-25 20:38:12.919 WARN [QuartzScheduler.Monitor_Worker-4] com.quest.nitro.service.data.DataService - The server has reached an overload state. 4,717 batches of data have been discarded.
The "Total Top Script Invocation Time" graph in the Performance Report indicates a script associated with the Event Log rule is taking a lot of invocation time (on the order of days):
Following is an excerpt of an example thread that references the script:
"Data-3-thread-1285184" #2442783 prio=5 os_prio=0 tid=0x00007f93c400f800 nid=0x4ef2 runnable [0x00007f93a587a000]
at org.codehaus.groovy.runtime.dgm$1009.invoke(Unknown Source)
The "Event Log" rule caused the overload. All the data processing threads were invoking the Groovy script for the "message" expression on the rule. All the threads were concatenating strings to assemble the message.
It could be that there were a lot of events, or events with a lot of text, which then caused the rule to generate a very large message which was expensive to assemble.
RESOLUTION 1: Disable the Event Log rule.
RESOLUTION 2: Filter the events collected by the WindowAgent so that only information on Events of interest is collected.