On Tuesday 28 November 2006 22:17, James Wade wrote:
Is there a way to track the number of open connections to a process?
Well, not to a process, but to a port (or regex matching the ports). As long as the client is reporting the ports data, this is quite trivial.
For example, the default ulimit is normally 1024.
Is there a way to track if a particular process has over 1000 open connections
with Hobbit?
I can do a listing with lsof as an example.
If the application listens on specific ports, then the netstat data (which the 4.2.0 clients report by default) can be checked (and graphed if you so desire) by rules in the hobbit-clients.cfg. See the man page for hobbit-clients.cfg.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)