ganglia / gmond_python_modules

Repository of user-contributed Gmond Python DSO metric modules
http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_gmond_python_modules
389 stars 354 forks source link

Initial commit of net_latency module #201

Open geokapp opened 9 years ago

geokapp commented 9 years ago

I have created a new ganglia module that measures the network latency of a host. It actually works by pinging the host's gateway or a user specified IP address.

vvuksan commented 9 years ago

This may be a problematic approach since mod_python is currently single threaded so if there are any network latency and ping command runs for say 15 seconds many updates may be dropped. Can you look into using threads for this ? There are couple examples in the repo.