How can I monitor “primary and secondary” Cognos nodes?

We have several Content Managers in Cognos that are running: one as a primary, one as a secondary.

I would like to be alerted if there isn’t one node acting as primary, if the primary node changed, or if the uptime changed.

This information is available via this webpage: http://cognosServer.com:9300/p2pd/servlet

Is there a more useful script or tool I can use to extract the status for Nagios, or any other tool?

Answer

You should be able to use JMX to check on the app itself. There are a lot of resources for JMX monitoring in Nagios Exchange, but I couldn’t recommend a specific plugin.

At a higher level, you might want to use check_multi to check them as a service cluster.

Neither of these will get you a Cognos-specific “is this the master?” functionality, though. You’d probably have to write something to parse the p2pd servlet page to achieve that, unfortunately.

Attribution
Source : Link , Question Author : makerofthings7 , Answer Author : Keith

Leave a Comment