Re: Monitoring a service on OpenNMS server only listening on loopback interface

Ronny Trommer <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <[email protected]>
If you assign the Service "OpenNMS-JVM” and "JDBC-PostgreSQL” you will get internal information from OpenNMS itself with JMX and some infos from the PostgreSQL database tables with the JDBC collector. There are also pre-configured JMX data collections for

* Cassandra when you use it with NewTS
* NewTS itself
* Kafka when you use it as a Message Broker with Minion
* Minion itself

You find the configuration and metrics in jmx-datacollection-config.d. Hope this helps

Regards

> On 18. Oct 2017, at 00:23, JohnD Blackburn <[email protected]> wrote:
> 
> Thanks Ronny,
> 
> Your email worked that time.
> 
> And thanks for the tip on monitoring services on localhost.  I never thought of doing it that way, but is exactly what I wanted.  And yes, my OpenNMS and PostgreSQL database are running on the same server.
> 
> I managed to get JMX monitoring working by enabling port 18980 on the external network interface, but I like your suggestion as it means I can close that port in the external interface.
> 
> By the way, I had a lot of trouble searching for how to set up monitoring of OpenNMS internals, because all my searches kept getting results about using opennms for monitoring, and not actually monitoring the opennms internals.  Not sure how you would get around that as the search results are driven by the search engine used.
> 
> Regards,
> John
> 
> 
> -----Original Message-----
> From: Ronny Trommer [mailto:[email protected]]
> Sent: Tuesday, 17 October 2017 3:44 PM
> To: General OpenNMS Discussion <[email protected]>
> Subject: Re: [opennms-discuss] Monitoring a service on OpenNMS server only listening on loopback interface
> 
> 
> 
> Ok I’ll try it again and marked the mail as plain text :)
> 
> Do you have OpenNMS and the PostgreSQL database running on the same server?
> 
> Add 127.0.0.1 as an interface of your OpenNMS server and assign the PostgreSQL service on the 127.0.0.1 interface and use the OPENNMS_JDBC_HOSTNAME parameter instead of localhost. This allows you also to monitor the internal performance metrics from OpenNMS itself via JMX.
> 
> Hope this helps.
> 
>> On 17. Oct 2017, at 02:02, David Poole <[email protected]> wrote:
>> 
>> It's not Exchange.  I can't see the contents of Ronny's message either and I am using Google Gmail...
>> 
>> On Mon, Oct 16, 2017 at 4:12 PM JohnD Blackburn <[email protected]> wrote:
>> Thank you for replying Ronny,
>> 
>> 
>> 
>> Unfortunately, I can’t see your reply.
>> 
>> 
>> 
>> 
>> 
>> All I’m seeing in MS Outlook is:
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Seems that there is some issue with MS exchange mangling OpenPGP messages.  Are you able to send your message some other way?
>> 
>> 
>> 
>> Also, your response doesn’t display on the source forge opennms mail archive page.
>> 
>> 
>> 
>> Alternatively, I could sign up to this group with a non-MS Exchange account…
>> 
>> 
>> 
>> Regards,
>> 
>> John
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> From: Ronny Trommer [mailto:[email protected]]
>> Sent: Monday, 16 October 2017 4:20 PM
>> To: General OpenNMS Discussion <[email protected]>
>> Subject: Re: [opennms-discuss] Monitoring a service on OpenNMS server only listening on loopback interface
>> 
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> 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
>> <image001.png><image001.png>------------------------------------------------------------------------------
>> 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
> 
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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 (application/pgp-signature, 529 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEzBAEBCgAdFiEEShtNBv7sJE0474B0kHWy5QiiRR4FAlnnDLIACgkQkHWy5Qii
RR7u/Qf/cTEjKP1e6CqCTWtIGtNL135ytiM93NDKK6rcDSWILPbO7e47YqZlsAFk
tADc01J8HjwzuzeqZEYqWc0ZIxc9GIlQQLpnXQ0NI1CGCZarY2wbkHOGUL20gX4Z
VMG7wpowio5edLGYvcTdeZOkbagh/g/Igc1bv+i3dAY9DinGXZl6MczgKjt9W5/7
AtF2wUK0/SYVP86bz2gpGC7F/QxXEbwRPJ/Nh2ptv5M4M1aTlg5Cncb0ImZ7Qutz
fN6999jQX2m18rkTDheVw32sz7RSYcpP5ZprMIZl53f2rqLI7Z9z9YatKK7AMk/j
0bRN56N8W5/ewKuGCFBn8fpVhE5o8A==
=0YcC
-----END PGP SIGNATURE-----
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.