-
Notifications
You must be signed in to change notification settings - Fork 15
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
Indentation error causes notify_pushover.py
to always fail after checking tokens
#9
Comments
Thank you. Had the same problem. Removing checks works. |
I'm pulling my hair a bit, i've managed to make the changes tristantech typed and it works fine from cli to send notifications. How am i supposed to setup the media settings in Zabbix? I can see like you said that you cant use UserKey|AppToken anymore, that results in too few arguments, but how do you do it in media settings in zabbix? I tried just using space inbetween instead of | but still getting too few arguments. Any pointers would be greatly appriciated! |
Then you will get Pushover notifications from your zabbix instance. |
Thank you so much for the very detailed instruction, worked instantly! Thanks again and have a good summer! |
Program always exits with status 1 due to indentation error on line 98:
https://github.com/sriccio/zabbix-alertscripts/blob/master/notify_pushover.py#L98
Both of these checks (
#Check if AppToken
... and# Check if UserKey
) should be removed since argparse handles enforcing command line parameters.The text was updated successfully, but these errors were encountered: