Ad Widget

Collapse

Identify the processes related with the Zabbix api on a Redhat server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Melon Mollusk
    Junior Member
    • Feb 2020
    • 7

    #1

    Identify the processes related with the Zabbix api on a Redhat server

    Hi, I am making several requests to the Zabbix api, I recently use the top command on linux and I find out that the mayority of them are HTTPD commands with apache as user

    Code:
     
     [SIZE=12px]  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND 13031 apache    20   0  501.1m  17.6m   5.6m S   2.7  0.5   0:04.03 httpd 14082 apache    20   0  501.0m  17.1m   5.3m S   2.7  0.5   0:00.99 httpd  7986 apache    20   0  501.1m  18.2m   6.0m S   2.3  0.5   0:11.40 httpd[/SIZE]
    so, how can I identify if this processes related with the Zabbix api? they use a lot of resources, half a gigabyte. I use the commmand lsof -p <pid> | grep zabbix and I got this line
    Code:
     httpd   10287 apache  cwd       DIR              202,2      4096   4209332 /usr/share/zabbix
    Code:
     [SIZE=12px][/SIZE]

    then on the same process i gues lsof -p <pid> | grep api and I got this:

    Code:
    httpd   10287 apache  mem       REG              202,2    324888     46929 /usr/lib64/libgssapi_krb5.so.2.2

    Anything related to the Zabbix api?
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    If you have the Apache httpd server-status location enabled, you might be able to see which httpd workers are performing work related to the Zabbix API.

    The shared library /usr/lib64/libgssapi_krb5.so.2.2 has nothing to do with the Zabbix API, it's a shared library that Apache httpd links to related to Kerberos GSSAPI authentication.

    Comment

    Working...