Elevated Privileges for Python3 Libraries
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? Thanks in advance, DanSolved200Views4likes12CommentsHaving trouble re-packaging SL1 Library
Hi All, hoping someone here can help me out. I recently have been trying to make a small tweak to the python code for the out of the box silo_cisco_meraki_api Library from the Cisco: Meraki Powerpack (literally just changing one variable) I was able to get the Library downloaded, unpacked, extracted the individual .py file using 'wheel unpack [file]', made the change, and ran 'wheel pack [directory]'. The final step as outlined in this SL document is to re-package the python project using the command 'python3 -m pip download --find-links=. silo_cisco_meraki_api==0.6.10'. However, when I run this I'm getting the error: Does anyone know what I'm doing wrong here? I'm guessing there's a very obvious step I'm missing.Solved57Views1like3Comments