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
Hello JR,
I'm afraid this might only be possible by creating your own meta-scans. For some sensors include and exclude filters can also be used - however the HTTP Advanced sensor is not one of them.
May, 2022 - Permalink