Ad Widget

Collapse

Best browser for Zabbix Kiosk

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kekkykekke
    Junior Member
    • Mar 2024
    • 9

    #1

    Best browser for Zabbix Kiosk

    This would rather go to the "discussion" category if there would be any. I just put it here.

    The goal of this discussion is to look for reliable browser displaying Zabbix on a kiosk machine 24/7, aka some browsers with no memory leak, overload, swapping , crashing, stuck whatnot.

    So far I did not find a good one.

    Here are the ones I tried:
    • Firefox
    • Netsurf (not working)
    • Dillo (not working)
    • Artic fox
    • Palemoon

    The thing about with the firefox vairants that over time they start swapping, pulling the cpu like crazy, in case of temporary network connectivity loss between the kiosk machine and the zabbix server, they are not able to autoreconnect (zabbix screen will be just showing loading on all charts forever). The last issue can be compensated with autoreload addons which reload firefox periodically eg in every 5 minutes so even if it would stuck it will keep on displaying.

    Suggstions?
  • kekkykekke
    Junior Member
    • Mar 2024
    • 9

    #2
    Sep 28 08:58:58 lappy kernel: [412267.594841] Out of memory: Kill process 3501 (firefox-bin) score 421 or sacrifice child
    Sep 28 08:58:58 lappy kernel: [412267.594846] Killed process 3501 (firefox-bin) total-vm:662676kB, anon-rss:433924kB, file-rss:88kB


    I'm bumping this up as I start giving up on this completely

    No matter what hardware/browser/os I try the end result always seems to be the same Zabbix kills any browser on the long run.

    This wouldn't even matter if there would be a proper way to restart the browsers, since it's a kiosk all you would might notice that the browser restarts once in a while then opens however if Firefox crashes for example depending on the versions it will always nag you to either restore the pages when you reopen regardless that you specifically set that in the config or with never versions it will say "Tab Crashed Gah" no way around telling him that I do not care if it's crashed just restore it.

    If it would normally terminate aka close then it would restore the tab without telling you a thing...

    I'm not planning on replacing Zabbix with any other monitoring system just looking for some alternative option to accomplish what I want.

    Now I even start thinking on dumping the whole SCREEN as a static html with Selenium or some tool into a html file and use some super simple browser like Netsurf to keep reopening that periodically to have a real kiosk feeling.

    Any suggestions???

    Comment

    • sai.barker
      Junior Member
      • Sep 2024
      • 15

      #3
      I'm running zabbix on a kiosk which is just running chrome. I have a shortcut that opens the zabbix dashboard in kiosk and fullscreen. I then use task scheduler to open the shortcut on boot. It then kills chrome at 3am and opens the shortcut again shortly after. 99% of the time the session is retained and logs in automatically. For us, not being able to see the dashboard on "the big screen" for 30 seconds or so isn't a big deal. For us, the only thing going on at 3am is backups or scheduled maintenance.

      Comment

      • kekkykekke
        Junior Member
        • Mar 2024
        • 9

        #4
        Originally posted by sai.barker
        I'm running zabbix on a kiosk which is just running chrome. I have a shortcut that opens the zabbix dashboard in kiosk and fullscreen. I then use task scheduler to open the shortcut on boot. It then kills chrome at 3am and opens the shortcut again shortly after. 99% of the time the session is retained and logs in automatically. For us, not being able to see the dashboard on "the big screen" for 30 seconds or so isn't a big deal. For us, the only thing going on at 3am is backups or scheduled maintenance.
        Do you mind to share what Zabbix version you running there? Mine is Zabbix 4.0.1

        I really reluctant to update it as I don't need any feature but if the new ones improve the Web UI stability and lower the overhead for client computers (what I strongly doubt) I will give a shot to upgrade it.

        This version is coming from: 29 October 2018, I also tried to match it with older browsers come out around that time not much luck.

        I give a shot to an older version of Chromium now but the problem is there is no auto reload addon for it, which is needed for me as I explained the WAN link to the Zabbix server can drop out and then it loads into a forever loading loop the autoreloader helps on this one.

        Comment

        • sai.barker
          Junior Member
          • Sep 2024
          • 15

          #5
          Originally posted by kekkykekke

          Do you mind to share what Zabbix version you running there? Mine is Zabbix 4.0.1

          I really reluctant to update it as I don't need any feature but if the new ones improve the Web UI stability and lower the overhead for client computers (what I strongly doubt) I will give a shot to upgrade it.

          This version is coming from: 29 October 2018, I also tried to match it with older browsers come out around that time not much luck.

          I give a shot to an older version of Chromium now but the problem is there is no auto reload addon for it, which is needed for me as I explained the WAN link to the Zabbix server can drop out and then it loads into a forever loading loop the autoreloader helps on this one.
          I'm running Zabbix 7

          Comment

          • kekkykekke
            Junior Member
            • Mar 2024
            • 9

            #6
            I would just like to say a thank you for you
            The situation improved hell of a lot.

            UVM: pid 57438 (firefox), uid 1000 killed: out of swap
            UVM: pid 90080 (firefox), uid 1000 killed: out of swap


            Firefox still crashes eventually but it takes about 4 days and the graphs are way more beautiful and responsive. I gave the box 5GB swap. I restart the whole DM every night at 3 AM, this is "just good enough" for me.

            Comment

            • kekkykekke
              Junior Member
              • Mar 2024
              • 9

              #7
              Well I would just really add to this that the high CPU usage occurs when the remote server becomes unreachable it seems the client side JS is killing the machine no matter what hardware or browser you put underneath it:

              cpu MHz : 2893.292
              cpu MHz : 2893.307
              cpu MHz : 2893.291
              cpu MHz : 2893.259


              Literally it pulls the CPU on 100%
              This is really something to fix in new releases if the connection is broken there is no reason to hammer the machine just wait and retry.

              Comment

              • cyber
                Senior Member
                Zabbix Certified SpecialistZabbix Certified Professional
                • Dec 2006
                • 4807

                #8
                You can submit a bug about it, if you can describe options to reproduce it etc...

                Comment

                Working...