Discussion:
[Zabbix-users] proc.num item for sidekiq process.
Horacio Sanson
2013-10-15 10:38:47 UTC
Permalink
I am trying to create a proc.num item to check if my sidekiq processes [1]
are running on my worker servers but I am unable to get it to work.

I tried several combinations of proc.num[sidekiq,,,] to no avail. The issue
I believe is that the ps output of sidekiq does not show the command used
to invoke the process. In my servers (Ubuntu 12.04 LTS) the output of ps
shows this:

#########################################################
$ ps -ef | grep sidekiq
sidekiquser 43373 0.1 6.2 767768 106776 ? Sl Oct11 8:45 sidekiq 2.11.2
myapp [0 of 16 busy]
#########################################################

What should I put on the proc.num to get this process count?

regards,
Horacio
Volker Fröhlich
2013-10-15 11:10:38 UTC
Permalink
Post by Horacio Sanson
I am trying to create a proc.num item to check if my sidekiq processes
[1] are running on my worker servers but I am unable to get it to work.
I tried several combinations of proc.num[sidekiq,,,] to no avail. The
issue I believe is that the ps output of sidekiq does not show the
command used to invoke the process. In my servers (Ubuntu 12.04 LTS) the
#########################################################
$ ps -ef | grep sidekiq
sidekiquser 43373 0.1 6.2 767768 106776 ? Sl Oct11 8:45 sidekiq 2.11.2
myapp [0 of 16 busy]
#########################################################
What should I put on the proc.num to get this process count?
Take a look at /proc/xxx/cmdline and consult the documentation on how to
use that.

Volker
Post by Horacio Sanson
regards,
Horacio
Horacio Sanson
2013-10-15 12:58:21 UTC
Permalink
Thanks, using proc.num[,,,sidekiq] did the trick.

Horacio
Post by Volker Fröhlich
Post by Horacio Sanson
I am trying to create a proc.num item to check if my sidekiq processes
[1] are running on my worker servers but I am unable to get it to work.
I tried several combinations of proc.num[sidekiq,,,] to no avail. The
issue I believe is that the ps output of sidekiq does not show the
command used to invoke the process. In my servers (Ubuntu 12.04 LTS) the
#########################################################
$ ps -ef | grep sidekiq
sidekiquser 43373 0.1 6.2 767768 106776 ? Sl Oct11 8:45 sidekiq 2.11.2
myapp [0 of 16 busy]
#########################################################
What should I put on the proc.num to get this process count?
Take a look at /proc/xxx/cmdline and consult the documentation on how to
use that.
Volker
Post by Horacio Sanson
regards,
Horacio
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Zabbix-users mailing list
https://lists.sourceforge.net/lists/listinfo/zabbix-users
Loading...