zabbix_ipsec_pfsense icon indicating copy to clipboard operation
zabbix_ipsec_pfsense copied to clipboard

Unlucky problem ;C

Open Rutaa opened this issue 5 years ago • 16 comments

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.

Rutaa avatar Oct 17 '19 10:10 Rutaa

@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?

alanwds avatar Oct 17 '19 18:10 alanwds

firewol

Rutaa avatar Oct 18 '19 08:10 Rutaa

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

alanwds avatar Oct 18 '19 11:10 alanwds

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

Rutaa avatar Oct 18 '19 13:10 Rutaa

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

alanwds avatar Oct 18 '19 16:10 alanwds

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

Rutaa avatar Oct 21 '19 07:10 Rutaa

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,

alanwds avatar Oct 21 '19 12:10 alanwds

shelll :(

Rutaa avatar Oct 21 '19 13:10 Rutaa

@alanwds do you have any idea ?

Rutaa avatar Oct 22 '19 09:10 Rutaa

bump

Rutaa avatar Oct 24 '19 08:10 Rutaa

@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.

alanwds avatar Oct 24 '19 11:10 alanwds

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

Rutaa avatar Oct 24 '19 12:10 Rutaa

just send me invitation on hangout [email protected]

Rutaa avatar Oct 25 '19 13:10 Rutaa

Bump

Rutaa avatar Oct 28 '19 07:10 Rutaa

unlucky ehh :(

Rutaa avatar Oct 29 '19 09:10 Rutaa

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

alanwds avatar Jul 18 '20 14:07 alanwds