-
Problem report
-
Resolution: Fixed
-
Major
-
3.2.8, 3.4.2
-
HP-UX 11.31
-
Sprint 31, Sprint 32
-
1
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