Skip to content

techxel/grafana-wechaty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

定时获取grafana保存的监控图表(巡检), 接受grafana webhook(告警信息), 转发至微信群组

安装nodejs

# centos
yum install nodejs
# mac
brew install node

如果使用windows, 需要先安装依赖, 其他平台跳过

npm install -g windows-build-tools
npm install -g node-gyp

安装typescript环境

npm install ts-node -g
npm install typescript -g

安装项目依赖

cd my-padplus-bot
tsc --init --target ES6
npm install

如果环境为linux, 需有g++编译环境, 才能安装wechaty-puppet-padplus

yum install gcc-c++

启动项目(请先修改bot.js里面的参数)

ts-node bot.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published