Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11015

Zabbix Agent can't get proc.* item data on Solaris 10

XMLWordPrintable

      In an out-of-the-box install of Solaris, Zabbix Agent won't retrieve correct data for proc.mem, proc.cpu.util or proc.num - unless the process is running under the same user as the Agent. Running the agent as root seems to work around the issue, but isn't recommended.

      Returned value is 0

        1678:20160721:095728.946 Requested [proc.cpu.util[,root]]
        1678:20160721:095728.946 In procstat_add()
        1678:20160721:095728.946 In zbx_dshm_realloc() shmid:-1 size:21704
        1678:20160721:095728.946 In procstat_copy_data()
        1678:20160721:095728.946 End of procstat_copy_data()
        1678:20160721:095728.947 End of zbx_dshm_realloc():SUCCEED shmid:47
        1678:20160721:095728.947 End of procstat_add()
        1681:20160721:095729.886 In send_buffer() host:'dangelovich-ud2.dev.blah.com' port:10051 entries:0/100
        1681:20160721:095729.886 End of send_buffer():SUCCEED
        1681:20160721:095729.886 __zbx_zbx_setproctitle() title:'active checks #1 [idle 1 sec]'
        1677:20160721:095729.899 __zbx_zbx_setproctitle() title:'collector [processing data]'
        1677:20160721:095729.899 In update_cpustats()
        1677:20160721:095729.899 End of update_cpustats()
        1677:20160721:095729.902 __zbx_zbx_setproctitle() title:'collector [idle 1 sec]'
        1681:20160721:095730.886 In send_buffer() host:'dangelovich-ud2.dev.blah.com' port:10051 entries:0/100
        1681:20160721:095730.886 End of send_buffer():SUCCEED
        1681:20160721:095730.886 __zbx_zbx_setproctitle() title:'active checks #1 [idle 1 sec]'
        1677:20160721:095730.902 __zbx_zbx_setproctitle() title:'collector [processing data]'
        1677:20160721:095730.902 In update_cpustats()
        1677:20160721:095730.902 End of update_cpustats()
        1677:20160721:095730.903 __zbx_zbx_setproctitle() title:'collector [idle 1 sec]'
        1678:20160721:095730.948 Sending back [0.000000]
      

            Unassigned Unassigned
            dangelovich David Angelovich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: