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?
4 Replies
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]
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
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.
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.
Please log in or register to enter your reply.
Add comment