-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: IndexError: string index out of range ==> Execute #12
Comments
/usr/local/bin/python3.7 /usr/local/bin/zabbix-ipsec3.py |
@krolingo I just make some improvement on zabbix-ipsec script (the most part of then, identation). Can you check if is working know? |
Hi, Thank you @alanwds for this work, I find it really useful and well done. Maybe this issue is resolved since then, but I encountered the same problem. Here are the modifications I made for the zabbix-ipsec.py script to work again after the tunnels name has been changed from connxxxx to conx, and for the description to be well displayed :
if m2: I added the following operations :
|
Traceback (most recent call last):
File "/usr/local/bin/zabbix-ipsec.py", line 117, in
ret = getPayload()
File "/usr/local/bin/zabbix-ipsec.py", line 111, in getPayload
if conf[-1] == ',':
IndexError: string index out of range
I use Python 3.7 and ZabbixAgentd 4.0.27. My pfSense version is 2.5.1-RELEASE(amd64)
The text was updated successfully, but these errors were encountered: