opennms.service monitoring

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

opennms.service monitoring

saqib
Hello all.

I have 2 openNMS servers for different applications and i want to add IP of one openNMS in other openNMS server and vice versa for monitoring of both openNMS servers.

I have done this part successfuly and it picked the ICMP and SSH monitors automatically but i want to monitor opennms.service so that it can inform me when web UI of openNMS is down.

I have added the monitor but this is not working


   <service name="OpenNMS-WebUI" interval="60000" user-defined="false" status="on">
      <parameter key="retry" value="1" />
      <parameter key="timeout" value="3000" />
      <parameter key="port" value="8980" />
      <parameter key="url" value="/" />
    <parameter key="match-all" value="true"/>
    <parameter key="thresholding-enabled" value="true"/>
      <parameter key="rrd-repository" value="/opt/opennms/share/rrd/response" />
      <parameter key="rrd-base-name" value="opennms-webui" />
      <parameter key="ds-name" value="opennms-webui" />
    </service>

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: opennms.service monitoring

David Hustace

> On Jul 11, 2017, at 03:00, saqib <[hidden email]> wrote:
>
> I have added the monitor but this is not working
>
>
>   <service name="OpenNMS-WebUI" interval="60000" user-defined="false"

Have you provisioned that service on the nodes you want to monitor?



David Hustace
The OpenNMS Group, Inc.

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

signature.asc (210 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: opennms.service monitoring

saqib
Yes i have done it and openNMS picks up the service but when i stop my openNMS, it does not show the service down status although service has been stopped