What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Template Check for HTTP(s)

Votes:

0

Your Vote:

Up

Down

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

check filter template

Created on May 4, 2022 7:25:26 PM by  JR Andreassen (0) 2

Last change on May 5, 2022 5:57:22 AM by  Felix Wiesneth [Paessler Support]



1 Reply

Votes:

0

Your Vote:

Up

Down

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.

Created on May 5, 2022 7:25:48 AM by  Timo Dambach [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.