Re: 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 tried adding the SNMP port (161) to my poller-configuration.xml but after a restart the Windows service is still showing as "not monitored".

Can anyone suggest what else might be the problem?

Thanks.

Regards, Dominic



From: Brasted, Dominic [mailto:[email protected]]
Sent: Tuesday, December 12, 2017 2:03 PM
To: General OpenNMS Discussion <[email protected]>
Subject: [opennms-discuss] Service not being monitored even though the poller test is successful

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.