Moogsoft Docs

Polling LAMs With Multiple Target Support

Polling LAMs that support multiple targets contain the targets proper 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

  • 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.