Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in 中文论坛 only
Search
Advanced Search
Forums
New Topics
Today's Posts
Home
Forum
Zabbix in Your Language
中文论坛
If this is your first visit, be sure to check out the
FAQ
by clicking the link above. You may have to
REGISTER
before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Ad Widget
Collapse
请教一个问题
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
dek701
Junior Member
Joined:
Dec 2019
Posts:
1
#1
请教一个问题
02-12-2019, 18:37
如果我有两个服务器。一个是web,另一个是DB,我想用一个模板链接两个服务器,但是我需要两个触发器设 置不同的值来匹配不同的服务器,我该怎么做?
lakeland
Junior Member
Joined:
Nov 2019
Posts:
12
#2
06-12-2019, 18:59
Zabbix设计上的逻辑就是以模板来统一配置,所以你想单独修改主机的触发器是不行的,但是你可以通过宏 来达到你想要的效果,因为zabbix首先解析用户宏,然后才解析模板宏
所以你可以用宏来代替触发器的触发条件,然后在模板中给宏添加默认的值,并修改主机宏对应的值。
例如设置一个{$ALARM_CPU_USEAGE},模板中定义告警值0.8,然后给web设置一个其他 的值
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕
Comment