Process State data from Linux Host not matching.
From agent metric it is showing the value of 5, zombie state:
System metric:
Why the agent is showing a value different of the operation system?
Linux Red Hat/Release 2023.8.1.6 ( 990006 )
The process "State" metric from the latest DX APMIA host monitoring agent extension is working as expected. Please verify the process state by checking the 3rd field in the command output from running either top command or "cat /proc/<pid>/stat".
The current implementation has the OID reference values to the process state mapped as below:
The OID (1.3.6.1.4.1.546.1.1.4.1.28) defined as processStateInt OBJECT-TYPE SYNTAX INTEGER { procStateStarting(1), procStateRunnable(2), procStateActive(3), procStateWait(4), procStateSleeping(5), procStateSwapped(6), procStateSleep(7), procStateStop(8), procStateOther(9), procStateZombie(10) } ACCESS read-only STATUS mandatory DESCRIPTION "The process state, as above, represented by integer for easier polling and trending." ::= { processEntry 28 }
https://oidref.com/1.3.6.1.4.1.546.1.1.4.1.28
Thus, the process state value 5 is "sleeping", not "zombie" (10).
We have raised an internal ticket in order to fix our documentation.