We are stuck trying to recreate some of the metrics we collect in our current Python2 snippets using pipes.
The specific example is 'ping', which required subprocesses, no longer allowed. We don't believe latency_ping,avail_ping from silo_tools will let us collect packet_count, packet_loss, avg_latencies, latencies that a library like ping3 allows. (used to calculate jitter and else)
Some of the libraries seem to require raw sockets and/or elevated privileges. So our question is two fold.
1 - Can we import custom libraries such as Ping3?
2 - How do we use elevated privileges on the collectors, as some libraries require elevated priveleges?
That library is fairly simple to pull in because it doesn't require to be compiled and it has no other dependent libraries or wheels. The instructions should boil down:
That library is fairly simple to pull in because it doesn't require to be compiled and it has no other dependent libraries or wheels. The instructions should boil down: