Check two websites for one service...
Posted: Thu Aug 17, 2017 2:00 pm
We are using Cisco for our telephony.
In order for us to see on what "side" we are running (backup or primary) we can check a website. If the website contains the word "idle" that side is not running. If it contains the word "active" that side is running.
I would like to receive a warning only if BOTH websites show the words ACTIVE or both websites show the word IDLE. Not if one says idle and one says active, since that is the expected behaviour. I would even be happy with the check just giving a warning if both websites show an IDLE state.
I think this can be done using service dependencies, but for the life of me I cannot figure out how...
In order for us to see on what "side" we are running (backup or primary) we can check a website. If the website contains the word "idle" that side is not running. If it contains the word "active" that side is running.
I would like to receive a warning only if BOTH websites show the words ACTIVE or both websites show the word IDLE. Not if one says idle and one says active, since that is the expected behaviour. I would even be happy with the check just giving a warning if both websites show an IDLE state.
I think this can be done using service dependencies, but for the life of me I cannot figure out how...