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

HP-UX proc.num matches only first 64 symbols of cmdline

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 31, Sprint 32
    • Story Points:
      1

      Description

      HP-UX proc.num[,,,cmdline] matches only first 64 symbols of cmdline.

      hpux# ps -efx |grep test
      root 18482 18395 0 14:47:17 pts/1 0:00 vi ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789test
      zabbix# zabbix_get -s hpux-host -k proc.num[,,,test]
      0

      Proposing attached patch- matches up to 1024 symbols of cmdline.
      zabbix# zabbix_get -s hpux-host -k proc.num[,,,test]
      1

      Patch based on pstat(2) Example 14 on from Hp-UX manual https://docstore.mik.ua/manuals/hp-ux/en/B2355-60130/pstat.2.html

        Attachments

          Activity

            People

            • Assignee:
              wiper Andris Zeila
              Reporter:
              andrws Andrius Umbrasas
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: