Processes plug-in for collectd doesn't seem collecting Per-process data.

210 views
Skip to first unread message

redcentreNT

unread,
Oct 11, 2016, 11:33:46 PM10/11/16
to Collectd-web Users
Hi

We have Processes plug-in for collectd. I would like to collect system wide thread information.
  • It doesn't exist in system wide information under processes. Under processes, the data is correct. (ps_state-sleeping.rrd matches the number of processes on the server itself.) 
ls processes
fork_rate.rrd  ps_state-blocked.rrd  ps_state-paging.rrd  ps_state-running.rrd  ps_state-sleeping.rrd  ps_state-stopped.rrd  ps_state-zombies.rrd
 ls processes-Passenger
ps_code.rrd  ps_count.rrd  ps_cputime.rrd  ps_data.rrd  ps_pagefaults.rrd  ps_rss.rrd  ps_stacksize.rrd  ps_vm.rrd

Configure file:
 cat /etc/collectd.d/process-Passenger.conf
## Note - the Processes plugin is already loaded..
# LoadPlugin processes

## embedded into passenger - master and worker process(es)

<Plugin processes>
        Process "Passenger"
</Plugin>


We have such Passenger thread on the server.
 ps -eLf | grep Passenger
xxxxxx    2293     1  2321  0   25 02:27 ?        00:00:00 Passenger RubyApp: /opt/xxxxxx/app/public (production)

Why collected doesn't collect those information?

Thanks,
Bin

redcentreNT

unread,
Oct 13, 2016, 10:33:28 PM10/13/16
to Collectd-web Users
This one works.

<Plugin processes>
        ProcessMatch "Passenger" "Passenger"
</Plugin>

Reply all
Reply to author
Forward
0 new messages