If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to check if Cognos website is down

Started by gatorfe, 02 Sep 2015 01:11:28 PM

Previous topic - Next topic

gatorfe

We are trying to create a checkpoint(preferably through a scheduled task) to make sure the cognos connection website is up and running.  We outsourced our servers and there has been some issues with server up time during business hours.  Before the users notice that the website is down we would like to get notified by email or text.  Any simple solutions exist out there?

bdbits

You can use Powershell. Here is an example.
https://dmitrysotnikov.wordpress.com/2008/05/29/monitor-web-site-availability/

(I have no affiliation or endorsement of the above site, I just googled for it.)

nagoole

Hi bdbits,

Can you please let me the step by step to do this ?

How to use this code in Power shell ?

Thanks,
Nagoole

MFGF

Quote from: nagoole on 17 Sep 2015 05:19:43 AM
Hi bdbits,

Can you please let me the step by step to do this ?

How to use this code in Power shell ?

Thanks,
Nagoole

Well, if I read Bob's post accurately, he just told you he googled for that answer. That says to me that he hasn't used it much if at all. Why in that case are you asking him for step-by-step instructions? Why aren't you out there on the internet researching how to do it yourself and then posting up the answer once you figure it out?

MF.
Meep!

nagoole


Michael75

There's also this command to find out the status of a Cognos server:

http://<machine.domain.com>:<9300>/p2pd/servlet

Insert your own <server name> and <port>

I'm attaching sample output from this. The final line shows "State: Running" for a primary server, and "State: Running as standby" for a secondary server.

If you're not comfortable with the PowerShell suggestion, maybe you could run this command and then parse its output?


gatorfe

We got the command to work and shows us a status.  Thank you.  Any info on how to automate that into a scheduled task?