thread-unsafe getpwnam() results into proc.num flickering in Zabbix agent 2

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Trivial
    • 7.0.25rc1, 7.4.9rc1, 8.0.0beta1
    • Affects Version/s: 7.0.22rc2, 7.4.6rc1, 8.0.0alpha2
    • Component/s: Agent2 (G)
    • None
    • S26-W08/09, S26-W10/11, S26-W12/13
    • 1

      To make Zabbix agent 2 consistent with Zabbix agent, getpwnam() wrapper for C function was added to Zabbix agent 2. (and replaced the native go solution).

      This is causing issues on Zabbix agent 2, since it is not thread-safe and results into flickering of proc num.. (when 2 proc_num items use different users)..

            Assignee:
            Artjoms Rimdjonoks
            Reporter:
            Artjoms Rimdjonoks
            Team C
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 8h Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 25.25h
                25.25h