Trying to set up the TA-connectivity app, and I get the following (I had to run 'dos2unix' on the .py scripts in order to run this on Linux):
#./pythonshell.py ping /opt/splunk/etc/apps/TA-connectivity/lookups/hosts.csv
Traceback (most recent call last):
File "/opt/splunk/etc/apps/TA-connectivity/bin/ping.py", line 177, in
print x.get()
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 554, in get
raise self._value
ValueError: invalid literal for int() with base 10: '2 packets'
The error should be from the line within the script:
rtt = float(rex_stats.group('rtt')) / int(packet_no)
Is there a correction for this? Not very familiar with python scripting ...
Thanks!
... View more