Ad Widget

Collapse

Zabbix frontend do not graph anymore

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jrosette
    Junior Member
    • Aug 2020
    • 1

    #1

    Zabbix frontend do not graph anymore

    Hi all,

    I'm facing issue with the zabbix i don't have graph anymore the latest data are not updating also. In the server log there is no error but when I run this command watch -tn 0.2 'ps -fC zabbix_server | grep history' I can see :

    zabbix 44547 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #1 [processed 1 values, 1 triggers in 38.476989 sec, syncing history]
    zabbix 44548 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #2 [processed 0 values, 0 triggers in 0.000099 sec, syncing history]
    zabbix 44550 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #3 [processed 0 values, 0 triggers in 0.000073 sec, syncing history]
    zabbix 44552 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #4 [processed 0 values, 0 triggers in 0.003411 sec, syncing history]
    zabbix 44554 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #5 [processed 4 values, 4 triggers in 114.733012 sec, syncing history]
    zabbix 44555 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #6 [processed 0 values, 0 triggers in 0.000062 sec, syncing history]
    zabbix 44557 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #7 [processed 0 values, 0 triggers in 0.000058 sec, syncing history]
    zabbix 44559 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #8 [processed 4 values, 4 triggers in 72.710739 sec, syncing history]
    zabbix 44562 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #9 [processed 0 values, 0 triggers in 0.000020 sec, syncing history]
    zabbix 44565 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #10 [processed 5 values, 4 triggers in 747.086744 sec, syncing history]
    zabbix 44566 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #11 [processed 0 values, 0 triggers in 0.000063 sec, syncing history]
    zabbix 44569 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #12 [processed 5 values, 6 triggers in 1146.039056 sec, syncing history]
    zabbix 44570 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #13 [processed 0 values, 0 triggers in 0.000185 sec, syncing history]
    zabbix 44572 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #14 [processed 2 values, 1 triggers in 47.126840 sec, syncing history]
    zabbix 44575 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #15 [processed 0 values, 0 triggers in 0.000048 sec, syncing history]
    zabbix 44576 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #16 [processed 2 values, 2 triggers in 36.465761 sec, syncing history]
    zabbix 44578 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #17 [processed 0 values, 0 triggers in 0.000053 sec, syncing history]
    zabbix 44581 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #18 [processed 0 values, 0 triggers in 0.000042 sec, syncing history]
    zabbix 44583 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #19 [processed 0 values, 0 triggers in 0.000053 sec, syncing history]
    zabbix 44584 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #20 [processed 0 values, 13 triggers in 897.264934 sec, syncing history]
    zabbix 44586 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #21 [processed 0 values, 0 triggers in 0.095495 sec, syncing history]
    zabbix 44588 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #22 [processed 0 values, 0 triggers in 0.000769 sec, syncing history]
    zabbix 44591 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #23 [processed 0 values, 0 triggers in 0.000645 sec, syncing history]
    zabbix 44592 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #24 [processed 30 values, 30 triggers in 1903.570027 sec, syncing history]
    zabbix 44594 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #25 [processed 0 values, 0 triggers in 0.000052 sec, syncing history]
    zabbix 44597 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #26 [processed 0 values, 0 triggers in 0.000120 sec, syncing history]
    zabbix 44598 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #27 [processed 0 values, 0 triggers in 0.000064 sec, syncing history]
    zabbix 44599 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #28 [processed 2 values, 2 triggers in 36.869949 sec, syncing history]
    zabbix 44603 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #29 [processed 2 values, 3 triggers in 34.704674 sec, syncing history]
    zabbix 44604 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #30 [processed 3 values, 1 triggers in 44.298639 sec, syncing history]
    zabbix 44607 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #31 [processed 4 values, 4 triggers in 80.660762 sec, syncing history]
    zabbix 44609 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #32 [processed 0 values, 0 triggers in 0.000050 sec, syncing history]
    zabbix 44611 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #33 [processed 0 values, 0 triggers in 0.000896 sec, syncing history]
    zabbix 44613 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #34 [processed 8 values, 5 triggers in 140.413585 sec, syncing history]
    zabbix 44615 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #35 [processed 4 values, 9 triggers in 358.296718 sec, syncing history]
    zabbix 44616 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #36 [processed 2 values, 1 triggers in 36.889814 sec, syncing history]
    zabbix 44618 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #37 [processed 0 values, 0 triggers in 0.000515 sec, syncing history]
    zabbix 44621 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #38 [processed 0 values, 0 triggers in 0.000049 sec, syncing history]
    zabbix 44622 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #39 [processed 0 values, 0 triggers in 0.000149 sec, syncing history]
    zabbix 44625 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #40 [processed 0 values, 0 triggers in 0.000199 sec, syncing history]
    zabbix 44626 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #41 [processed 1 values, 1 triggers in 39.281380 sec, syncing history]
    zabbix 44629 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #42 [processed 0 values, 0 triggers in 0.000042 sec, syncing history]
    zabbix 44631 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #43 [processed 0 values, 0 triggers in 0.000033 sec, syncing history]
    zabbix 44633 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #44 [processed 0 values, 0 triggers in 0.000761 sec, syncing history]
    zabbix 44634 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #45 [processed 0 values, 0 triggers in 0.000036 sec, syncing history]
    zabbix 44636 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #46 [processed 2 values, 1 triggers in 39.847002 sec, syncing history]
    zabbix 44639 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #47 [processed 0 values, 0 triggers in 0.000053 sec, syncing history]
    zabbix 44640 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #48 [processed 0 values, 0 triggers in 0.000064 sec, syncing history]
    zabbix 44642 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #49 [processed 0 values, 0 triggers in 0.000068 sec, syncing history]
    zabbix 44645 44505 0 08:49 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #50 [processed 0 values, 0 triggers in 0.000163 sec, syncing history]

    Is that normal this process is always syncing ?

    This is the parameters value I set in zabbix-server.conf:

    StartPollers=100
    StartPollersUnreachable=50
    StartTrappers=10
    StartPingers=50
    StartDiscovers=15
    CacheSize=1G
    StartDBSyncers=50
    HistoryCacheSize=1G
    HistoryIndexCacheSize=32M
    ValueCacheSize=2G


    For the moment I disabled all the host in order to see if these queues will empty.

    Please someone can advise me ?

    Br,

    Jrosette
  • isaqueprofeta
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2020
    • 154

    #2
    Put down that numbers man... if you search around the forum you gonna learn that more process forks you have, more lost the system gonna be. (It's like having a GPS that lets you have 30 routes, you gonna have a lotta time choosing one before go).

    Try loosening up "a bit" like this:
    • StartPollers=20
    • StartPollersUnreachable=10
    • StartPingers=20
    • StartDiscovers=10
    • StartDBSyncers=4
    And then try to grow up only what you see that's really busy.

    Comment


    • jrosette
      jrosette commented
      Editing a comment
      Hi isaqueprofeta,

      I will decrease the value as you suggest thanks for the reply
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #3
    Are you running 5.0.x? If so, this could be related to a recently fixed issue in 5.0.3 which was out just couple of days ago.

    Comment


    • jrosette
      jrosette commented
      Editing a comment
      Hi Dimir,

      Good to know this i will try thanks for reply
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #4
    Originally posted by jrosette
    StartDBSyncers=50
    WOW. Now this one is definitely too high. The default 4 is there for a reason. You can go through this old, small but useful article (see rule for thumb in particular) https://ma.ttias.be/startdbsyncers-zabbix/ .

    Comment


    • jrosette
      jrosette commented
      Editing a comment
      Hi Dimir,
      I ran the changes but still same results.
      Everything is slow and no data updated
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #5
    Can you show the output of history syncers now?
    Check your Administration -> Queue.
    What's your NVPS?
    Last edited by dimir; 26-08-2020, 09:26.

    Comment


    • jrosette
      jrosette commented
      Editing a comment
      Hi Dimir,

      FInally I dropped the database recreated the hosts and now it works.
      My NVS is 435
      Thanks again for your assistance
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #6
    For 435 NVPS default number of HistorySyncers is more than anough.

    Comment

    Working...