【文件属性】:
文件名称:hubot-nagios:nagios 的 Hubot 适配器
文件大小:11KB
文件格式:ZIP
更新时间:2021-06-11 00:27:06
CoffeeScript
hubot-nagios
hubot-nagios 为 hubot 添加监控支持
描述
该插件使 hubot 能够对 nagios 通知做出React以及请求当前服务状态或确认问题。
它还需要自定义通知命令和 nagios 端的联系人。 在通知中 nagios 运行一个简单的 curl 调用将事件中继到 hubot。 为此,hubot 需要侦听可从 nagios 访问的 IP。
安装和设置
将hubot-nagios添加到 package.json,运行npm install并将 hubot-nagios 添加到external-scripts.json 。
将 hubot-nagios 添加到package.json依赖项中。
"dependencies": {
"hubot-nagios": ">= 0.0.1"
}
将hubot-nagios添加到external-sc
【文件预览】:
hubot-nagios-master
----.travis.yml(49B)
----package.json(841B)
----test()
--------nagios-test.coffee(4KB)
--------index-test.coffee(1KB)
----LICENSE(11KB)
----Gruntfile.js(1KB)
----src()
--------scripts()
--------index.coffee(908B)
----.gitignore(23B)
----README.md(2KB)