External health script using python
venkata_maddula
Member ✭
Hi,
I am trying to write a python program to setup a external health monitor which expects a different text at different times.
to elaborate the following is existing health monitor but the client indicated the server might return <COMM>0</COMM> sometimes. I didn't see regex options to implement this so looking for python script to do this.
health monitor o2comm-prd.norton.com
method http port 8080 url GET /api/1/AEB40FF7-3952-4794-A331-80F800B71594/3467F0DF-9D96-4539-AF3B-E928076D78FB expect <COMM>1</COMM>
I am trying to write a python program to setup a external health monitor which expects a different text at different times.
to elaborate the following is existing health monitor but the client indicated the server might return <COMM>0</COMM> sometimes. I didn't see regex options to implement this so looking for python script to do this.
health monitor o2comm-prd.norton.com
method http port 8080 url GET /api/1/AEB40FF7-3952-4794-A331-80F800B71594/3467F0DF-9D96-4539-AF3B-E928076D78FB expect <COMM>1</COMM>
0