What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

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

Reverse condition of sensor

Votes:

0

We want to monitor the http access of our network switches. We want to be alerted when http is enabled or in an 'up' state. I know how to create and alert for an up state, but we don't want it to be in an error or down state when http is disabled. Is there a way this can be accomplished?

reverse-condition sensor state

Created on Aug 12, 2021 11:21:45 PM



4 Replies

Votes:

0

Hello Louis,

Thank you for your message.

Regarding what you would like to achieve, I invite you to use a custom script with the EXE/Script (or EXE/Script Advanced sensor) with a modified version of the lookup "prtg.standardlookups.http.statuscode.ovl" located under "C:\Program Files (x86)\PRTG Network Monitor\lookups".

When you create a new lookup or modify an existing one, I invite you to reload them in PRTG under Setup > System Administration > Administrative Tools (/systemsetup.htm?tabid=7) by using the button under *Load Lookups and File Lists*

Here is a Kb article article which provides a script which could help you in this case: https://kb.paessler.com/en/topic/47373-can-i-check-for-specific-http-response-codes-with-prtg

If you have questions, let us know.

Regards.

Created on Aug 13, 2021 6:16:15 AM by  Florian Lesage [Paessler Support]

Last change on Aug 13, 2021 6:20:05 AM by  Florian Lesage [Paessler Support]



Votes:

0

dear Louis or Florian have you been able to accomplish this ? i have the exact same request for a firewall web access that has to be unaccessible thru https but which comes back to respond in certain reconfigurations please let me know how to accomplish this if you have been able to Thanks

Created on Apr 14, 2022 7:08:35 AM



Votes:

0

Hello Frederic,

My apologizes for the delay, I could not reply to you earlier.

I'm afraid that I can't bring further information here as the message sent by Louis is the only one we have. Nevertheless, you should be able to monitor your firewall the way you want to by following the indications provided in my message above.

As HTTPs uses the TCP protocol, you might also be able to use the Port sensor to check if the port is open or not and trigger an alert accordingly. To do so, you need to configure the option Goal within the sensor settings.

If you have questions, do not hesitate.

Regards.

Created on Apr 25, 2022 8:15:19 AM by  Florian Lesage [Paessler Support]



Votes:

0

What I did to get this working was to use a Port sensor, set the port to 80 (HTTP), and then set the Goal to "Closed". Now when HTTP is disabled PRTG reports it as green or 'UP', when HTTP is enabled it reports it as red and sets an alert status.

Created on Oct 14, 2022 5:28:09 PM




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.