Chinaunix
标题:
问个nagios报警问题
[打印本页]
作者:
mitmax
时间:
2010-05-14 09:49
提示:
作者被禁止或删除 内容自动屏蔽
作者:
chenl
时间:
2010-05-25 18:16
把service_description 修改为诸如Naven_tomcat_8585, Naven_tomcat_8586这样。
作者:
blueswxs
时间:
2010-05-25 22:05
本帖最后由 blueswxs 于 2010-05-25 22:07 编辑
二楼的主意也挺好的。呵呵。再来一个参考一下。
$ARGn$
The nth argument passed to the command
(notification, event handler, service check, etc.).
Nagios supports up to 32 argument macros
($ARG1$ through $ARG32$).
资料来源,nagios 3.x 手册。
引用当初执行命令的参数即可。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2