The zabbix alarm will not be sent after the Wechat enterprise account has been upgraded to WeCom.
No zabbix alarm was issued after the Wechat Enterprise account was upgraded to WeCom. It is wrong to run this report alone:
Go to the interface debugging page http://qydev.weixin.qq.com/debug, enter CorpID and Secret, and get access_token:
The previous format was:
So modify the alarm script. The statement to get access_token before is:
Now that the format has changed (from column 4 to column 10), change $4 to $10, and there is an error in running the script again:
Prompt "Invalid input" to run the output format separately:
The only exception found is that the agentid column has spaces. Try to delete the spaces and run the script successfully again.
Spaces are not allowed in the post-upgrade format if spaces are allowed before upgrading.