Service not being monitored even though the poller test is successful
"Brasted, Dominic" <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I'm having trouble getting OpenNMS to monitor a Windows service. I've added it to /opt/opennms/etc/default-foreign-source.xml via the GUI and to my poller-configuration.xml (and restarted the opennms service), and when I do a poller-test it comes back successful. OpenNMS detects the service but shows it as not monitored.
I would appreciate your assistance. We're running OpenNMS 16.0.3.
Here are the relevant portions of my config files:
default-foreign-source.xml
<detector name="SolarWinds Storage Manager Agent Service" class="org.opennms.netmgt.provision.detector.snmp.Win32ServiceDetector">
<parameter key="win32ServiceName" value="SolarWinds Storage Manager Agent Service"/>
<parameter key="retries" value="2"/>
<parameter key="timeout" value="5000"/>
</detector>
poller-configuration.xml
<service name="SolarWinds-Storage-Manager-Agent" interval="300000" user-defined="false" status="on">
<parameter key="retry" value="2"/>
<parameter key="timeout" value="5000"/>
<parameter key="service-name" value="SolarWinds Storage Manager Agent Service"/>
</service>
<monitor service="SolarWinds-Storage-Manager-Agent" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
Output from poller-test
Checking service SolarWinds-Storage-Manager-Agent on IP xxx.xxx.xxx.xxx
Package: example1
Monitor: org.opennms.netmgt.poller.monitors.Win32ServiceMonitor
Parameter service-name : SolarWinds Storage Manager Agent Service
Parameter retry : 2
Parameter timeout : 5000
Available ? true (status Up[1])
Response time: 80.951263
Thanks.
Regards, Dominic
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss