Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
Expand all | Collapse all

How to monitor Cognos up and running

  • 1.  How to monitor Cognos up and running

    Posted Wed December 01, 2021 11:10 AM
    We have multiple servers with multiple instances of cognos installed on each. My manager wants to be able to capture which cognos are started, running, and responsive, and of course that would lead us to report on which cognos are not. Any ideas on how this could be done? 


    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: How to monitor Cognos up and running

    Posted Thu December 02, 2021 02:11 AM
    Hi Brenda,

    at least you can check the status manually via the url http://<url-to-your-cognosserver>:9300/p2pd/servlet. The response will be:
    I'm unsure if it's not a big deal to catch the status text from this website response as I have almost no knowledge about HTML coding.

    ------------------------------
    Robert Dostal
    Team Leader BI
    GEMÜ
    Ingelfingen
    ------------------------------



  • 3.  RE: How to monitor Cognos up and running

    Posted Thu December 02, 2021 07:52 AM

    Brenda – you could develop a script that hits the following URL:
    - http://Server:Port/bi/v1/disp

     

    You will need to replace "Server" and "Port".  Hope this helps.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Peter Chan

    613-295--0428

     






  • 4.  RE: How to monitor Cognos up and running

    Posted Thu December 02, 2021 09:22 AM
    If you want to know whether the port is in use (presumably by Cognos) you can use telnet. It's very basic but would tell you if something is running on that port, like the the Data set service port is in use. (Start -> Run [telnet host 9301]). I would assume you'd want to do this in a batch file and add some extra code in for added info.

    If you want to monitor system metrics externally you can use JMX. It's been many years since I've set this up but I think it can give you what you need.
    https://www.ibm.com/docs/en/cognos-analytics/11.0.0?topic=metrics-monitoring-system-externallyxternally - IBM Documentation

    You could also just look at the Cognos Scorecard directly in IBM Cognos Administration to see what is going on.

    ------------------------------
    TREVOR COMEAU
    ------------------------------



  • 5.  RE: How to monitor Cognos up and running

    Posted Thu December 02, 2021 10:21 AM
    Brenda,

    You actually want to use http[s]://server:port/bi/v1/ping for checking if the instance is up and running. The other two will not work in certain cases as follows. The Content Manager URL of http[s]://server:port/p2pd/servlet will not work if you've separated the dispatchers and try that against a dispatcher. The dispatcher URL of http[s]://server:port/bi/v1/disp kind of works even for a separated Content Manager but often imposes a redirect with single sign on implemented so you might have to check for status 302. However, with the ping address you can check for the standard status 200.

    Those will help you determine the instance is up but will not help much with checking functionality. You probably want to know that it can execute a report and that is a much more complex question because of the round robin load balancing built into the Cognos product. Even if you connect to a specific instance and run a report you have no guarantee it actually executed on that instance. You could create several service accounts that are members of separate Cognos groups in order to create routing rules based on those groups that lock the service account into executing on a specific dispatcher but that may not be possible if you already have routing rules based on some other grouping of servers. In some cases it may be desirable to disable the round robin load balancing and then connecting to a specific instance and running a report would verify it's functionality.

    FWIW we use MotioCI to regularly perform the instance up check which is essentially connecting to http[s]://server:port/p2pd/servlet/dispatch via SDK and authenticating but I don't think it is actually executing any reports.

    ------------------------------
    Robert Hofstetter
    ------------------------------



  • 6.  RE: How to monitor Cognos up and running

    Posted Thu December 02, 2021 10:37 AM
    Edited by System Admin Fri January 20, 2023 04:48 PM
    Hi @Brenda Grossnickle,

    allthough being a little biased on this answer ;-) I hope that I can help you.

    We use cometa.rocks to do E2E testing (login, navigate and call report with data).
    We use it to monitor 45 Cognos Installations with different version and also use it for regression testing.
    Ahh ... and we used to test over 2000 reports and various cubes, some of them with over 20 dimensions and more than 300 attributes. I know it's not exactly what you asked, but apart from monitoring, you could do that, if you wanted to.

    You can find the github repo here: COMETA ROCKS 

    Would love to demo it to you.

    best regards,
    Ralf

    ------------------------------
    Ralf Roeber
    https://linkedin.com/in/ralf-roeber-470425a/
    ------------------------------



  • 7.  RE: How to monitor Cognos up and running

    Posted Wed January 31, 2024 11:22 AM

    I would like to see the demo



    ------------------------------
    Michael Colvin
    ------------------------------



  • 8.  RE: How to monitor Cognos up and running

    Posted Thu February 01, 2024 09:19 AM

    Maybe Ralph can present in the next AMA!

    Shawn



    ------------------------------
    Shawn Lamson
    ------------------------------



  • 9.  RE: How to monitor Cognos up and running

    Posted Fri December 03, 2021 07:48 AM
    good. I have the same question!!!!!!!!!!!

    ------------------------------
    https://coastlinecare.vn/
    ------------------------------



  • 10.  RE: How to monitor Cognos up and running

    Posted Thu February 01, 2024 09:24 AM

    Hi,

    We operate data centers and use Cognos for our customer reporting. We do all our monitoring with Icinga (https://icinga.com/ ) and are very happy with it. We can use various checkpoints to test whether services are running, virtual machines are online and much more.

    Best regards
    Roger



    ------------------------------
    Roger Lewin All for One SE
    Senior Technical Consultant - Analytics
    All for One SE
    Dortmund
    ------------------------------