agapoff / check_kubernetes

Nagios/Icinga/Zabbix style plugin for checking Kubernetes
64 stars 36 forks source link

parse error: Invalid numeric literal at line 1, column 6 #30

Open AviPairupuni opened 1 year ago

AviPairupuni commented 1 year ago

HI,

I see an error while executing this script from Zabbix.

parse error: Invalid numeric literal at line 1, column 6.

If I execute it manually, it is working without any issues

Zabbix 602

RHEL 8.4

agapoff commented 1 year ago

Hi, You have to conduct some investigation on what's the difference between how you run the command and how Zabbix does it. That could give us some clue.

AviPairupuni commented 1 year ago

I have another instance of Zabbix that is monitoring another k8s deployment and it is working without any issues. I tried to cross verify the permissions and I do not see any difference except that it is a different version of Zabbix