Ad Widget

Collapse

How to monitor a process in zabbix?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RobertShook
    Junior Member
    • Feb 2020
    • 1

    #1

    How to monitor a process in zabbix?

    Hello,

    I am using Zabbix4.0 and its working fine for service and system resources.

    Now i want to monitor some processes also using zabbix. I have tried the below combination in item but no success:

    Item:

    Name: Sidekiq process
    Type: Zabbix agent
    Key: proc.num[,,run,sidekiq]
    Type of information: Numeric(unasgined)
    Application: Processes

    Trigger:

    {HOST.NAME roc.num[,,run,sidekiq].last()}=0

    Below is the output of my ps -aux | grep sidekiq command:

    ab@xyz:~# ps -aux | grep sidekiq
    root 6595 0.0 0.0 14520 940 pts/0 S+ 10:10 0:00 grep --color=auto sidekiq
    ab 12332 0.1 5.3 885928 217508 ? Sl Mar14 8:50 sidekiq 4.2.7 abc [0 of 5 busy]
    ab 14756 0.2 13.3 1527376 539928 ? Sl Mar18 5:56 sidekiq 4.2.6 abc [0 of 10 busy]


    Can you please help me how we can monitor process? Because i need to monitor some other processes also like puma etc. LiteBlue
    Last edited by RobertShook; 07-02-2020, 09:20.
  • gert.derouck
    Member
    • Jan 2020
    • 69

    #2
    Hi,

    try using one of the following item keys:

    Code:
    proc.num[sidekiq,ab]
    Code:
    proc.num[,ab,,sidekiq]
    You can check the expected item values with zabbix_get.
    See also https://www.zabbix.com/documentation..._mem_num_notes

    Regards

    Comment

    Working...