ZABBIX 监控 触发 python脚本 显示已经 触发,但是脚本没有被执行

Mike_QM 2014-08-14 05:03:14
用zabbix 监控服务器,做了个测试 服务器 down掉 或者恢复 都会显示已经调用 脚本 但是 实际没有调用 python脚本(脚本里面有log,但是根本没有打印),请问这是什么情况啊,要晕了
...全文
3040 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
daisy_test 2016-10-21
  • 打赏
  • 举报
回复
请问楼主找到问题的根源所在了吗
风清- 2016-03-08
  • 打赏
  • 举报
回复
楼主怎么新建文件,怎么我的新建了还是没有邮件- -
lovesha0000 2015-05-27
  • 打赏
  • 举报
回复
引用 9 楼 u012156982 的回复:
感谢以上 朋友的解答,问题我已经找到了,我实在windows下写的python脚本 直接导入服务器的,不知为什么命令行可以运行 但是 zabbix 调用不了,在服务器重新新建文件就可以了
太牛了,我也是这个问题,折腾了一天
Mike_QM 2014-09-03
  • 打赏
  • 举报
回复
感谢以上 朋友的解答,问题我已经找到了,我实在windows下写的python脚本 直接导入服务器的,不知为什么命令行可以运行 但是 zabbix 调用不了,在服务器重新新建文件就可以了
Mike_QM 2014-08-15
  • 打赏
  • 举报
回复
引用 7 楼 micropentium6 的回复:
command line operation is success But ZABBIX is not did u execute the command line using the same account that ZABBIX is configured with?
yes, all root users
  • 打赏
  • 举报
回复
command line operation is success But ZABBIX is not did u execute the command line using the same account that ZABBIX is configured with?
Mike_QM 2014-08-15
  • 打赏
  • 举报
回复
引用 5 楼 micropentium6 的回复:
[quote=引用 3 楼 u012156982 的回复:] [quote=引用 2 楼 micropentium6 的回复:] do you mean you can't get email notification?
The script is not running[/quote] why u are so sure it didn't run? What if the log was disabled?[/quote] command line operation is success But ZABBIX is not
  • 打赏
  • 举报
回复
引用 3 楼 u012156982 的回复:
[quote=引用 2 楼 micropentium6 的回复:] do you mean you can't get email notification?
The script is not running[/quote] why u are so sure it didn't run? What if the log was disabled?
Mike_QM 2014-08-15
  • 打赏
  • 举报
回复
引用 1 楼 aca_jingru 的回复:
把你web 上面配置了吗,配置好了,右边应该是绿色的。
都是按网上的说的 都配好了。。。。zabbix 显示 动作已完成,但是 实际动作没做,因为我的 python脚本是要运行,无论 输不输入参数都会有log打印
Mike_QM 2014-08-15
  • 打赏
  • 举报
回复
引用 2 楼 micropentium6 的回复:
do you mean you can't get email notification?
The script is not running
  • 打赏
  • 举报
回复
do you mean you can't get email notification?
过去的我 2014-08-14
  • 打赏
  • 举报
回复
把你web 上面配置了吗,配置好了,右边应该是绿色的。

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧