The CreatorCon Call for Content is officially open! Get started here.

april_mcgehee
ServiceNow Employee
ServiceNow Employee

Event Management is a new plugin that came in Eureka. The Event Management plugin allows you to combine multiple event sources into one management console.   If you are running on Fuji Patch 7 and also have the Event Management plugin enabled, you could potentially experience some slowness. This is a result of configuring the "Event Management- create/resolved incidents by alerts" job. This scheduled job triggers a cache flushes every 11 seconds when it updates the evt_mgmt.last_calculated_alert_job property. No data is lost, but it can cause your instance to move slower because it's continuously flushing and rebuilding cache.

response+time.jpg

You do not have to uninstall the Event Management plugin and go without it. Instead, support has thought of two workaround options so that you can keep the Event Management system turned on and not have to sacrifice instance performance. To fix your slow instance, you can either ignore the flush flag, use a background script, or upgrade to Fuji Patch 8.

You can use the GUI menu interface to manually ignore cache.

  1. Navigate to the system properties table.
  2. Filter for the Last Calculated Alert Job setting.

    https://<instance_name>.service-now.com/sys_properties_list.do?sysparm_query=nameSTARTSWITHevt_mgmt.last_calculated_alert_job

  3. Change the setting for Ignore Cache to True.

With Admin privileges you can use a background script to set the property to ignore cache flushes too.

var gr = new GlideRecord("sys_properties");
gr.addQuery("name", "evt_mgmt.last_calculated_alert_job");
gr.query();
if (gr.next()){
gr.ignore_cache = true;
gr.update();
}

Finally, if the background scrip or manual setting of the property just don't do it for you, you can always upgrade. Don't let this discourage you from using the Event Management system in Fuji. There are plenty of benefits to bringing all of your data to one source.