Tips and Tricks

Disable Session Timeout

By default timeout value is set to 20 minutes. To make sessions endless you can decrease session-timeout property in /opt/zenoss_analytics/webapps/reports/WEB-INF/web.xml file.

<session-config>
  <!--Default to 20 minute session timeouts-->
  <session-timeout>0</session-timeout>
</session-config>

List Registered RM Systems in Analytics

curl http://analytics_server.zenoss.loc:7070/etl/ | jq

This will show you the UUID’s for various RM systems communicating with the Analytics server.

If you know the UUID, you can specifiy it on the commandline:

curl http://solutions-analytics.zenoss.loc:7070/etl/<uuid> | jq
eg:
curl http://solutions-analytics.zenoss.loc:7070/etl/8054d966-97ec-11e7-a03a-0242ac110017 | jq

Remove All Batches

From the reporting database:

delete from meta_batch; delete from meta_batch_file;

Then use the script:

show_batch_status.sh