lihanchuan125 发表于 2019-1-20 10:21:45

zabbix通过skype发送报警消息之终结

  最常遇到的问题,就是http://myhat.blog.运维网.com/391263/923592这里提到的这个。似乎说了很久都没有提到,如何在zabbix上设置更具体的设置,再看老外大牛的内容!
  Go to settings and set the following options

[*]no chat history
[*]just people on my list can write me
[*]just people on my list can call me
[*]Configuring the zabbix server  That’s the easy part.

[*]Just check in your zabbix_server.conf to where the AlertScriptsPath points to.
[*]Then add a symbolic link of sendim.sh in this directory. ( Zabbix calls the script like this: scriptname username subject message )
[*]Go to the zabbix frontend and create the new Skype media type:

[*]Description: Skype
[*]Type: Script
[*]Script name: sendim.sh

[*]Finally, set up your skype address in your profile and check if you have an action, that sends messages to your all medias or skype media.

  有图有真相
http://blog.运维网.com/attachment/201207/200233600.png
  
  整个大环境介绍:
  之前的配置是RHEL5.5+zabbix1.8.10,目前因为需要将消息发送给skype的需求,现对环境做更改。
  具体的是:
  使用Ubuntu server 12.0.4来替换RHEL5.5。
  按照老外大牛的博客进行操作:http://www.qxs.ch/2011/01/07/skype-instant-messages-from-zabbix/
  推荐阅读如下:
  1、zabbix通过skype发送报警消息之安装skype http://myhat.blog.运维网.com/391263/925274
  2、zabbix通过skype发送报警消息之切换平台 http://myhat.blog.运维网.com/391263/926247
  3、zabbix通过skype发送报警消息之弯路 http://myhat.blog.运维网.com/391263/926296
  4、zabbix通过skype发送报警消息之终结http://myhat.blog.运维网.com/391263/923592


附件:http://down.运维网.com/data/2360975

页: [1]
查看完整版本: zabbix通过skype发送报警消息之终结