COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Administration and Security => Topic started by: rwrembel on 27 Aug 2024 04:57:33 AM

Title: Cognos 12 - Monitor current heap size
Post by: rwrembel on 27 Aug 2024 04:57:33 AM
Dear forum users,

as a Cognos newbie I would like to monitor the "Current Heap Size" of all Cognos Services using an external system monitoring tool like CheckMK. Currently, the values can only be seen in the administrative console under Metrics.
If that's not possible, I would like to send an alert (via email or similar) if the traffic light shows a 'severity' or 'critical' state.
Regards,
Roberto
(https://i.imgur.com/WPmrwRl.png)
Title: Re: Cognos 12 - Monitor current heap size
Post by: rwrembel on 13 Sep 2024 07:14:00 AM
The question external monitoring can be answered with JMX: https://www.ibm.com/docs/en/cognos-analytics/11.1.0?topic=metrics-monitoring-system-externally
Title: Re: Cognos 12 - Monitor current heap size
Post by: rwrembel on 20 Sep 2024 01:22:54 AM
JMX Monitoring is up and running.
My question is solved

(https://i.imgur.com/vWcSSAX.png)
Title: Re: Cognos 12 - Monitor current heap size
Post by: dougp on 20 Sep 2024 11:31:49 AM
Amazing.  Based on the docs, I don't understand what the URL is supposed to be.  Can you provide an example that is formatted more clearly?
Title: Re: Cognos 12 - Monitor current heap size
Post by: dougp on 20 Sep 2024 11:56:26 AM
Maybe I missed something.  The docs say "in the JMX connection tool".  Does that mean I'm entering a URL into a desktop app, not a web browser?  What app?

Then, of course...  Is it possible to access this data directly through a web browser and not need to install desktop client software?
Title: Re: Cognos 12 - Monitor current heap size
Post by: rwrembel on 27 Sep 2024 02:36:58 AM
You activate in Cognos the JMX Monitoring. The JMX data, provided by the websphere, can for example be consumed by the JRE tool jconsole. The jsconsole use the jmx string to gather the metrics(https://i.imgur.com/x1Vjx49.png).

My data gathering is as follows:  Cognos Application - > JMX -> Powershellscript -> checkMK