Do you have seemingly dead LogicMonitor devices, with skull and crossbones, just because you have written your own DataSources, have applied "NoPing" to system.categories so the usual Host Status DataSource Group doesn't appear?
Simply add the following lines to your DataSource's Groovy collection script (not active discovery) and viola: they're undead.
import com.santaba.agent.live.LiveHostSet
LiveHostSet.getInstance().flag(hostProps.get("system.deviceId").toInteger())
No comments:
Post a Comment