Problem:
Hi,
I’ve searched the OpenNMS Docs and found that to auto-discovery my self-defined service on a node we should define a detector in a foreign source and then monitor doing the polling job. But here have some monitors that I can’t find the matched detector collaborate with:
CiscoPingMibMonitor
DeviceConfigMonitor
DNSResolutionMonitor
JCifsMonitor
JolokiaBeanMonitor
MailTransportMonitor
NetScalerGroupHealthMonitor
PageSequenceMonitor
PassiveStatusMonitor
PrTableMonitor
RadiusAuthMonitor
SSLCertMonitor
StrafePingMonitor
SystemExecuteMonitor
VmwareCimMonitor
VmwareMonitor
XmpMonitor
and the two monitors in which I didn’t find a related detector in any foreign source XML and Docs:
MinionRpcMonitor
MinionHeartbeatMonitor
My Expected outcome:
I want to know if all the monitor that is listed above have their specific detector collaborated with and which it is? if not, how can I tell Meridian to provision my service to the node automatically, for instance, service Script_Example monitor by SystemExecuteMonitor?
Detectors and monitors are not strictly pairwise, and don’t have to be related at all (except by service name)
For example, a service can be detected by the FooDetector (which isn’t real and does nothing), which is then monitored by a completely different BarMonitor that’s perhaps more specific to the service.
As an example:
<detector name="Latency_to_FOO" class="org.opennms.netmgt.provision.detector.simple.HttpDetector">
<parameter key="ipMatch" value="127.0.0.1"/>
<!-- only run this detector against localhost -->
</detector>
In most cases, you should be discovering nodes into a requisition. If the nodes have a requisition, you can add a service directly to the node with no detector defined in the foreign source.
Thanks, I got that they’re only related by service name.
@dino2gnt I want to ask 1 more further question. If I want to add service Script_Example automatically to the node with a detector, which detector do you suggest?