-
Notifications
You must be signed in to change notification settings - Fork 43
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
k8s-stats.py returning index problem #12
Comments
This is expected, you shouldn't launch the script without args, you can test it working by doing:
Instead of
|
Ill have to admit, I am so much a noob here. :) But I am not getting any info at all in zabbix, and if I try to use the script from cli I get the following error. : /usr/lib/zabbix/externalscripts# ./k8s-stats.py discovery pods |
Running k8s-stats.py from terminal says:
Traceback (most recent call last): File "./k8s-stats.py", line 20, in <module> target = 'pods' if 'containers' == sys.argv[2] else sys.argv[2] IndexError: list index out of range
I would appreciate any help. Thanks.
The text was updated successfully, but these errors were encountered: