Anyone with AIX 5.3 clients encountered an issue where the Number of Processes is way off? All the other data my agents are collecting look accurate except for the Number of Processes which is showing at 353 even though a quick ps -ef | wc -l only shows 152 processes running on the server.....
Ad Widget
Collapse
Number of Processes info wrong on AIX 5.3 client
Collapse
X
-
Hi coop
No. We experience just sometimes an off by one error.Anyone with AIX 5.3 clients encountered an issue where the Number of Processes is way off? All the other data my agents are collecting look accurate except for the Number of Processes which is showing at 353 even though a quick ps -ef | wc -l only shows 152 processes running on the server.....
This is not OK either, because the ZABBIX agent reports 0 where there is in fact 1 process running leading to false alarms.
As a workaround, we use a user parameter for this - more or less
what you did with the ps command.
In addition, on some OSes the number of threads is counted instead of the
number of processes. Perhaps it's the same with AIX ?
Can you use the AIX ps command to display number of threads ?
Perhaps that clarifies the situation.
HTH,
Norbert. -
Number of Processes info wrong on AIX 5.3 client
As pointed by NOB, on some OSes the number of threads is counted instead of the number of processes.
Take a look to this thread:
Comment
-
Thanks for the help!!
Just for info purposes, I ran the alternate check you mentioned and here are my results:
Zabbix data shows: Number of processes 07 Oct 10:38:42 356
ps -ef | wc -l shows: 155
ps -em | wc -l shows: 398
Is the general workaround just a user parameter then?
My Zabbix server is running on AIX 5.3 with Oracle for the DB. I don't remember this being an issue when I was running an eval a few months ago, but the eval was on OpenSuse with MySql.....Comment
-
Number of Processes info wrong on AIX 5.3 client
I'm not a Zabbix expert but, yes, I would recommend you to create a user parameter.
About the possible differences between AIX 5.3, OpenSuse, ... no idea, but I found that the behaviour differs even among systems with Red Hat Enterprise Linux 3 and Red Hat Enterprise Linux AS 4 !!
Regards.Comment
-
Zabbix agent counting processes correctly
Hello,
problem is not in zabbix, but in command which you are using for check of processes. If you use "ps aux|wc -l" instead of "ps -ef|wc -l". If you use right command for checking, you see that zabbix counting processes correctly.Comment
Comment