Hi! Currently those nodes don’t have a well defined health check, that’s true. If you want to check whether the web interface process is connected, you could perform a GET /disconnected on the web interface. If it can reach the graylog servers (or rather could in the last 5 seconds), it will generate a 303 SEE OTHER response. Otherwise it returns 200 and renders a page.
This is a little backwards, but should work fine. If you load balance round robin, please enable sticky sessions (or choose a plain fallback approach), because in 1.1.x the UI has state when checking for metrics, like throughput and others. This would break if plain round robin balancing is used. Also be sure not to load balance the API access from the web interface to the servers, as the web interface currently requires direct access to specific nodes. cheers, Kay > On 05 Aug 2015, at 11:45, Jean-Luc Bassereau <[email protected]> wrote: > > Hello, > > I'm finalizing my HA Graylog environment. Nodes will be balanced behind F5 > boxes. > I have no problem to monitor Graylog server instances health through the > system/lbstatus URL. > Whereas, I also have 2 graylog-web-interface instances but I didn't find any > mention of healthcheck page on them. Did I miss something or do I have to > only check if the web port of the interface answers me '200' ? > > -- > Regards, > Jean-Luc Bassereau > > -- > You received this message because you are subscribed to the Google Groups > "Graylog Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/graylog2/CAEoVnxZkkDCMpwwT_d%3D1CPJP4kRSucXBfyKi1Go51_bF59OCVA%40mail.gmail.com > > <https://groups.google.com/d/msgid/graylog2/CAEoVnxZkkDCMpwwT_d%3D1CPJP4kRSucXBfyKi1Go51_bF59OCVA%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/BCFFAB87-D102-40CA-992E-F0475E691ECF%40gmail.com. For more options, visit https://groups.google.com/d/optout.
