Skip to main content

Configure Polling LAMs to Poll More Than One Target Data Source

Polling LAMs that support multiple target data sources contain the targets property in the configuration file. The following Polling LAMs have multiple target support:

  • CA Spectrum

  • DataDog Client

  • Dynatrace APM

  • Email

  • HP NNMi

  • HP OMi

  • JDBC

  • New Relic

  • New Relic Insight

  • Office 365 Email LAM

  • Rest Client

  • SevOne

  • SolarWinds

  • VMware vCenter

  • VMware vRealize Log Insight

  • VMware vSphere

  • Zabbix

  • Zenoss

For these LAMs, the event payload includes the target name and target URL. These are written to custom_info.eventDetails.moog_target_name and custom_info.eventDetails.moog_target_url:

 var overflow = commonUtils.getOverflow(event);
    event.set("overflow", null);

    var eventDetails = {
        "moog_target_name": overflow.moog_target_name,
        "moog_target_url": overflow.moog_target_url
    };
    event.setCustomInfoValue("eventDetails", eventDetails);

These may be available in the LAMbot functions, and can be enabled or disabled if required.