Hello Paesslerists...
I have a question... I'm creating a template to check a web server... Which you can do with:
<check id="https443.prtg" meta="http" requires="ping"> <metadata> <protocol>https</protocol> <port>443</port> </metadata> </check>
Is there a way to make sure it is a specific server? Like check a specific url:
<check id="https443.prtg" meta="http" requires="ping"> <metadata> <protocol>https</protocol> <port>443</port> <httpurl>https:///checkrunning</httpurl> </metadata> </check>
Or, check for something in the return like:
<check id="http443.prtg" meta="http" requires="ping"> <metadata> <protocol>https</protocol> <port>443</port> <checksubstring>paessler.com.com</checksubstring> </metadata> </check>
So that you can then create a HTTP Advanced sensor like:
<create id="httpsensor.prtg.http" kind="http" requires="http443.prtg" displayname="PRTG Server Check"> <createdata> <httpurl>https:///checkrunning</httpurl> <httpmustneeded>1</httpmustneeded> <httpmustnotneeded>0</httpmustnotneeded> <includemust>Webserver is Running</includemust> <hybridmode>delphi</hybridmode> <checkcertificate>true</checkcertificate> </createdata> </create>
Thanks JR
Add comment