Skip to content
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

Unlucky problem ;C #4

Open
Rutaa opened this issue Oct 17, 2019 · 16 comments
Open

Unlucky problem ;C #4

Rutaa opened this issue Oct 17, 2019 · 16 comments

Comments

@Rutaa
Copy link

Rutaa commented Oct 17, 2019

Hi.
I have problem with use it. After install with your instructions i dont get any info. When i checked in hosts information i get something like this.
3
2
Help me please.

@alanwds
Copy link
Owner

alanwds commented Oct 17, 2019

@Rutaa Could you run the script at pfsense console?

/usr/local/bin/python2.7 /usr/local/bin/zabbix-ipsec.py

I suspect that you have some char that is breaking the json parser used on the script. This char can be on description at phase 1 or 2. Can you check this as well?

@Rutaa
Copy link
Author

Rutaa commented Oct 18, 2019

firewol

@alanwds
Copy link
Owner

alanwds commented Oct 18, 2019

Looks like you are facing a problem to run python scripts. I don't know the cause. Do you copy and past de file correctly? I mean, depends where from you got the file, you can face identity problems.

Try run:

cat -e /usr/local/bini/zabbix-ipsec.py

And them, try find any kind of wrong char or even a bad identity line.

Other option is get the file directly from the git. Example:

curl -Ss https://raw.githubusercontent.com/alanwds/zabbix_ipsec_pfsense/master/scripts/zabbix-ipsec.py -o /usr/local/bini/zabbix-ipsec.py

@Rutaa
Copy link
Author

Rutaa commented Oct 18, 2019

231
All time not working, I replace this file two times. Whats wrong :C

@alanwds
Copy link
Owner

alanwds commented Oct 18, 2019

@Rutaa You are running the command the python prompt. You have to run those commands at pfsense shell.

@Rutaa
Copy link
Author

Rutaa commented Oct 21, 2019

I don't have any idea whats wrong. But in VSC problem is first line. After this command

cat -e /usr/local/bini/zabbix-ipsec.py
i get something like this...
shell1
sh2
3sh

@alanwds
Copy link
Owner

alanwds commented Oct 21, 2019

Looks like your file is Ok.

Can you run the following command (at pfsense shelel, not on python cmd):

/usr/local/bin/python2.7 /usr/local/bin/zabbix-ipsec.py

Regards,

@Rutaa
Copy link
Author

Rutaa commented Oct 21, 2019

shelll
:(

@Rutaa
Copy link
Author

Rutaa commented Oct 22, 2019

@alanwds do you have any idea ?

@Rutaa
Copy link
Author

Rutaa commented Oct 24, 2019

bump

@alanwds
Copy link
Owner

alanwds commented Oct 24, 2019

@Rutaa I think that we have to established a new channel for contact (hang out or skype)? Maybe, we have try make a debug together.

@Rutaa
Copy link
Author

Rutaa commented Oct 24, 2019

@alanwds Yea i think this same. I prefer WhatsApp or hangout :)

@Rutaa
Copy link
Author

Rutaa commented Oct 25, 2019

just send me invitation on hangout xrutus@gmail.com

@Rutaa
Copy link
Author

Rutaa commented Oct 28, 2019

Bump

@Rutaa
Copy link
Author

Rutaa commented Oct 29, 2019

unlucky ehh :(

@alanwds
Copy link
Owner

alanwds commented Jul 18, 2020

@Rutaa I figure out that the problem is related to encoding rigth? Would be nice if you share the solution here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants