All Projects → OneOaaS → weixin-alert

OneOaaS / weixin-alert

Licence: other
企业微信告警发送

Projects that are alternatives of or similar to weixin-alert

Prometheusalert
Prometheus Alert是开源的运维告警中心消息转发系统,支持主流的监控系统Prometheus,Zabbix,日志系统Graylog和数据可视化系统Grafana发出的预警消息,支持钉钉,微信,华为云短信,腾讯云短信,腾讯云电话,阿里云短信,阿里云电话等
Stars: ✭ 822 (+1511.76%)
Mutual labels:  alert, zabbix, weixin
Awesome Monitoring
INFRASTRUCTURE、OPERATION SYSTEM and APPLICATION monitoring tools for Operations.
Stars: ✭ 356 (+598.04%)
Mutual labels:  nagios, zabbix
Wgcloud
linux运维监控工具,支持系统信息,内存,cpu,温度,磁盘空间及IO,硬盘smart,系统负载,网络流量等监控,API接口,大屏展示,拓扑图,进程监控,端口监控,docker监控,文件防篡改,日志监控,数据可视化,web ssh,堡垒机,指令下发批量执行,linux面板,探针,故障告警
Stars: ✭ 2,669 (+5133.33%)
Mutual labels:  nagios, zabbix
Thola
Tool for monitoring and provisioning network devices (mainly using SNMP) - monitoring check plugin
Stars: ✭ 179 (+250.98%)
Mutual labels:  nagios, zabbix
realopinsight
✔️ Measure and observe end-user applications availability - Define and track SLA/SLO targets through Prometheus-alike metrics and built-in reports - Kubernetes®, Zabbix®, Nagios®.
Stars: ✭ 55 (+7.84%)
Mutual labels:  nagios, zabbix
Devops Api
Golang + Beego 编写 提供开发/运维常用操作的HTTP API接口: 手机归属地查询、IP地址查询、工作日节假日判断、微信报警、钉钉报警、2步验证、密码存储、发送邮件、生成随机密码等功能
Stars: ✭ 258 (+405.88%)
Mutual labels:  alert, weixin
Shell
Infrastructure Management Shell - Linux
Stars: ✭ 381 (+647.06%)
Mutual labels:  nagios, zabbix
checkmk-telegram-notify
Get alerted by Check_MK via Telegram bash script
Stars: ✭ 28 (-45.1%)
Mutual labels:  alert, nagios
snmp notifier
A webhook to relay Prometheus alerts as SNMP traps, because sometimes, you have to deal with legacy
Stars: ✭ 33 (-35.29%)
Mutual labels:  alert, nagios
alerta-contrib
Contributed integrations, plugins and custom webhooks
Stars: ✭ 107 (+109.8%)
Mutual labels:  nagios, zabbix
histou
Adds templates to Grafana in combination with nagflux
Stars: ✭ 33 (-35.29%)
Mutual labels:  nagios
xing-weapp-editor
开箱即用的微信小程序图文编辑组件
Stars: ✭ 101 (+98.04%)
Mutual labels:  weixin
JDToaster
🍞 Toasty iOS alerts
Stars: ✭ 25 (-50.98%)
Mutual labels:  alert
miniprogram
[微信小程序/小游戏] A fast wechat miniprogram/minigame development sdk written in Golang
Stars: ✭ 52 (+1.96%)
Mutual labels:  weixin
docker-nagios
Docker image for Nagios Core in Alpine Linux with basic plugins, available for x86, x64 , ARM v6, ARM v7 and ARM64.
Stars: ✭ 33 (-35.29%)
Mutual labels:  nagios
rabe-zabbix
Collection of various Zabbix templates and helper scripts created or used by Radio Bern RaBe
Stars: ✭ 93 (+82.35%)
Mutual labels:  zabbix
statusengine
New PHP based MySQL Backend for Naemon and Nagios 4 + responsive web frontend
Stars: ✭ 16 (-68.63%)
Mutual labels:  nagios
zabbix-review-export-import
Clone of zabbix-review-export with added import object(s) feature
Stars: ✭ 36 (-29.41%)
Mutual labels:  zabbix
iakit
无依赖 mini 组件库,只封装了 alert, toast, loading, actionSheet 等使用频率较高的组件。适用于类似 H5 活动页的简单移动端项目,不必为了使用这些组件而引入一个大而全的 UI 库和框架。
Stars: ✭ 38 (-25.49%)
Mutual labels:  alert
WSFC
Windows Server Failover Cluster (WSFC) metrics fetcher
Stars: ✭ 21 (-58.82%)
Mutual labels:  zabbix

weixin-alert

本项目是一个企业微信消息发送的程序,可以作为运维告警使用,支持任意可调用的运维系统,包括Zabbix,Nagios,shell脚本

支持Zabbix的告警,使用方法见微信公众号 http://url.cn/4A37R4z

Zabbix告警的使用方法

脚本位置:

wget https://raw.githubusercontent.com/OneOaaS/weixin-alert/master/weixin_linux_amd64
cp weixin_linux_amd64 /etc/zabbix/alertscripts/weixin
chmod 755 /etc/zabbix/alertscripts/weixin
chown zabbix:zabbix /etc/zabbix/alertscripts/weixin

脚本测试

/etc/zabbix/alertscripts/weixin --corpid=wxee***********81aa --corpsecret=Mm0mHwI8iVsjA*JUGySxOFMIlbosoVEkWIEiw --msg="您好</br>告警测试" --user=oneoaas --agentid=1000003
返回数据:
{"errcode":0,"errmsg":"ok","invaliduser":""}

查看帮助

./weixin_linux_amd64 --help
Usage of ./weixin_linux_amd64:
  -agentid string
    	agentid
  -author string
    	http://www.oneoaas.com
  -corpid string
    	corpid
  -corpsecret string
    	corpsecret
  -msg string
    	Send Message
  -user string
    	which user to send msg

支持群组发送

Usage of weixin_linux_amd64_toparty:
  -agentid string
        agentid
  -author string
        http://www.oneoaas.com
  -corpid string
        corpid
  -corpsecret string
        corpsecret
  -msg string
        Send Message
  -toparty string
        which toparty to send msg
  -totag string
        which totag to send msg
  -user string
        which user to send msg

        其中toparty,totag,user三个参数任选其一发送即可
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].