-
Notifications
You must be signed in to change notification settings - Fork 234
patch#001 #11
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
patch#001 #11
Conversation
Resume script
update in TMP_UIDS
Resume code
Update zbxtg.sh
|
zbxtg.sh: line 39: unexpected EOF while looking for matching `)' |
|
Ouuch! Yes, Indeed, I forgot: D |
|
did u try it on zabbix 3.0? |
|
Not yet, but I can do it tomorrow. |
|
I have some difficulties with 3.0. And i'm trying to solve them now. |
Remove variable PERIOD in line 54 (unnecessary)
Update in PERIOD variable
|
@rauhmaru hey, i just write the same code on python, because it is too hard to support all versions of curl/wget/etc. |
|
@rauhmaru I've checked your code. How do you supposed to make difference between 1-to-1 and group chat? |
34 to 41: The source type (chat or private) does not matter anymore. The value is retrieved in both types.
46 to 52: The way to get the chat_id has been simplified, and the uids.txt file, no longer chat or private value.
66 to 68: Simplified the code to set the value of the variable.
Unfortunately I could not perform all the tests that you would like to validate the changes, but the tests I conducted in my laboratory, worked well.
I hope it works for you too. :)