-
-
提示这个错误?
usr/lib/zabbix/alertscripts/zabbix-wachat.sh: line 3: import: command not found
/usr/lib/zabbix/alertscripts/zabbix-wachat.sh: line 4: import: command not found
/usr/lib/zabbix/alertscripts…
-
I have two environments first one running Zabbix 3.0 and works fine. Second one zabbix 2.2 does not.
when I try to run the script on CLI I get:
Zabbix 3.0
[root@zabbix alertscripts]# /usr/bin/zab…
-
```
/usr/lib/zabbix/alertscripts/zbxtg.py @user test zabbix_server
zbxtg.py: {u'error_code': 400, u'ok': False, u'description': u"Bad Request: Can't parse message text: Can't find end of the entity s…
-
After update zbxtg.py stops working.
this works fine:
`~ # python /usr/lib/zabbix/alertscripts/zbxtg.py "Дом" ololo ololo --group
`
but when it runs under Zabbix in debug I see this:
```
2696…
-
Hi,
Thanks for the script, it seems really useful and make skype/sevabot unnecessary :)
Anyway, my zabbix is running on Ubuntu 14.04.5 and I have issue with the script. It drops an exception:
r…
-
内网我有个报警平台,zabbix服务器无外网权限,而是通过内网的报警平台发微信报警。
仿照wechat写了个python脚本,调用内网接口,命令行手工执行ok,格式类似:
./gochat.py "xxxxxx(工号)" “主题” “内容”
返回结果正常,如下:
{"errmsg":"ok","errcode":0}
微信接收正常。
但在zabbix里类似wechat配置好介质类型…
-
Your Rocket.Chat version: 0.44
We are using `https://github.com/ericoc/zabbix-slack-alertscript/blob/master/slack.sh` for integrating Zabbix with Rocket.Chat.
Previously we were using slack. Everythin…
-
首先表示感谢,你的脚本非常好用!
配置过程中发现几个小问题,在此提一下。
报警脚本默认存放路径应该是:
> /usr/local/share/zabbix/alertscripts
或者 **AlertScriptsPath** 指定的其它位置。
需要提供以下三个宏作为脚本参数:
- {ALERT.SENDTO}
- {ALERT.SUBJECT}
- {ALERT.ME…
-
2017-03-28 21:58:03.126 root[28378] MainThread INFO - [alerta] endpoint=http://200.200.114.161/api key=demo000000
2017-03-28 21:58:03.129 root[28378] MainThread ERROR - __init__() takes exactly 3 arg…