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.Solved61Views1like3CommentsPowerFlow Action Type v200 PowerPack is Released
Hello, We are pleased to announce the general availability release of the PowerFlow Action Type v200 PowerPack. This PowerPack ensures all PowerPacks using its action type are compatible with Python3. NOTE: This PowerPack was formerly known as "Integration Service Action Type PowerPack" when it was released in beta. This PowerPack includes the Action Type, "Run Integration Service Application": You can use this Action Type to build an Automation Action that triggers a PowerFlow application. When you create an Automation Action using this Action Type, you specify the credential for the PowerFlow instance, the application to run, and the parameters to include in the request. This Action Type is not compatible with the formatting actions in the Datacenter Automation UtilitiesPowerPack. You can download this PowerPack at the following location on ScienceLogic Support: https://support.sciencelogic.com/s/release-file/aBtVL0000000fXp0AI/powerflow-action-type Thank you, Release Management7Views0likes0Comments