[collectd] Collectd User Plugin shows inactive users as active

Florian Forster octo at verplant.org
Tue Oct 13 10:22:48 CEST 2009


Hi Kisho,

On Mon, Oct 12, 2009 at 03:34:58PM +0200, kisho at phcn.ws wrote:
> we got a strange error. We have some PPTP VPN users on the system and
> collectd shows more and more active users, but only some are realy
> active. After some weeks we have more than 500 users (if we belive
> collectd) online and for real there are not more than 20 active.
> 
> /var/log/utmp (last and who) shows the right count of users.

the Users plugin uses “getutxent” or “getutent” to get “struct utmpx” or
“struct utmp” and counts all structs of type “USER_PROCESS”.

Do you maybe have a ton of zombie processes haunting you?

Regards,
—octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20091013/426ef0c9/attachment.pgp 


More information about the collectd mailing list