salt-wtmp-beacon-example:使用 wtmp beacon 的示例,以便在用户登录系统时发送文本消息

时间:2021-06-19 17:48:15
【文件属性】:
文件名称:salt-wtmp-beacon-example:使用 wtmp beacon 的示例,以便在用户登录系统时发送文本消息
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-19 17:48:15
ApacheConf salt-wtmp-beacon-example 用户登录系统时使用 wtmp 信标发送文本消息的示例。 此示例需要 twilio.com 上的帐户。 reactor 文件假设我们将让 origin minion 也通过 twilio 帐户发送文本消息。 为了能够通过 twilio 帐户发送文本,minion 需要安装twilio python 模块。 twilio python 模块可以这样安装: pip install -U twilio files目录中的files应该位于您的 Salt Master 和 Salt Minion 上各自的位置。 修改/etc/salt/minion.d/twilio_creds.conf以反映您的 twilio 配置。 修改/srv/reactor/logins.sls以反映您希望通知登录的目标电话号码以及您的 twilio 帐户的电话号码
【文件预览】:
salt-wtmp-beacon-example-master
----LICENSE(11KB)
----README.md(831B)
----files()
--------srv()
--------etc()

网友评论