Hi, I use an PRTG-Cluster with 2 Nodes. Is it possible to use the web Interface behind an loadbalancer?
Regards Michael
Article Comments
I´ve created severall maps and I like to have an HA solution for viewing these maps. There´ll wil be only read-only views.
Mar, 2012 - Permalink
Hi,
if you switch to the GetHTML tab of your Map you should see all URLs which can provide the Map. We tested this right now on a 5 nodes cluster and it worked perfectly.
Please bear in mind that if the map should be shown on a cluster node every object of the map must be accessible for the node.
Means you can only use objects in the maps which reside under the cluster probe.
Best regards
Mar, 2012 - Permalink
My setup looks the same as described in first post: 2 nodes (active & failover) and a load balancer. But if the primary node goes down -maybe Windows updates- the failover node should be presented to the users. This could be done via the Load Balancerbut what to check directly? I've seen the URL /api/public/testlogin.htm , but that just states "OK" or "NOTOK". That is no HTTP statuscode that the KEMP LoadMaster can process. Is there any other (undocumented) API function to use?
Aug, 2017 - Permalink
SecPRTG, you could just check the normal login page (login.htm), if it's not available, the according node should be down.
Aug, 2017 - Permalink
Hmmm, when i try to look at /login.htm --> not found /api/public/login.htm --> not found And I want to switch to the failover if the primary node is just starting, right when an update occured.
Aug, 2017 - Permalink
What do you mean with "the normal login page (login.htm)" ? If I try to test /login.htm" I get an 404-Error "Not Found" Same for "/api/public/login.htm" Do you mean "index.htm"? That doesn't solve my problem as this page is shown already when the PRTG-Core-Server-Service starts. And that lasts 15-20 minutes. So in this time I want to show the failover node which should be running as the temporary master node.
Aug, 2017 - Permalink
I apologize, yes index.htm works just as well. I'm afraid there is no checks built into PRTG for load balancer support at the state of the Core Server starting.
Aug, 2017 - Permalink
Sad, but that schould be possible to serve the way as /api/public/testlogin.htm but without login and with HTTP-Status codes.
With /api/public/testlogin.htm I have to have an open session to get "OK" as the answer - else I get HTTP 200 with "NOTOK" even if the server is running fine.
Aug, 2017 - Permalink
Currently we do not plan any changes there for loadbalancer support I'm afraid, so it will have to be using the login there I'm afraid.
Aug, 2017 - Permalink
Hi Michael,
whyt exactly do you want to do? Do yo want to distribute the traffic with a loadbalancer to the different nodes?
If so, please note that the web interface of the Failover Node is read only and will only show the sensors which are placed in the Cluster Probe.
Best regards
Mar, 2012 - Permalink