Over time, the data inserter and Top N queues will clear on their own but to return Hyperic back to a normal state, there is a process where the queues can be paused, allowing Hyperic to catch up.
To resolve the issue, follow the steps below.
- Log into the vRealize Hyperic UI as an administrator.
- To clear the DataInserter queue, navigate to Administration > Groovy Console.
- Run the following commands in the Groovy Console:
import org.hyperic.hq.context.Bootstrap
import org.hyperic.hq.measurement.server.session.*
def inserter = Bootstrap.getBean(MeasurementInserterHolder.class)
inserter.dataInserter.doNotAcceptData.set(true)
Note: The result will say null, which is expected.
- Navigate to Administration > HQ health > Diagnostic > Batch Aggregate DataInserter to check the queue size.
Note: the queue information will look similar to:
# entries: 0
- If the entries are higher than 0, refresh the page until you see 0.
- Navigate to Administration > Groovy Console.
- Run the following commands in the Groovy Console:
import org.hyperic.hq.context.Bootstrap
import org.hyperic.hq.measurement.server.session.*
def inserter = Bootstrap.getBean(MeasurementInserterHolder.class)
inserter.dataInserter.doNotAcceptData.set(false)
- Repeat step 4.
Note: If the DataInserter queue gets to be too high again, repeat steps 2-4; repeat as necessary until your queue has normalized.
Once your queue is clear, you should notice significant improvement in performance along with seeing all metrics coming in from agents.