1.可以看出模板的触发器条件 默认模板
<a href="http://59.110.26.9/zabbix/templates.php?form=update&templateid=10001" target="_blank">Template OS Linux</a>
<a href="https://s3.51cto.com/wyfs02/M00/8E/3D/wKioL1i6MWeDDpQ5AALI-yHY-WU040.png-wh_500x0-wm_3-wmp_4-s_2740287650.png" target="_blank"></a>
2.怎么调整这些值呢
<a href="https://s3.51cto.com/wyfs02/M00/8E/3F/wKiom1i6Mcmh0rHpAAD5s-tp_pc865.png-wh_500x0-wm_3-wmp_4-s_3958694110.png" target="_blank"></a>
3.用zabbix_get 得到客户端的值
1
2
3
4
5
6
7
8
9
10
11
12
13
<code>[root@web02 zabbix]</code><code># zabbix_get -s 59.110.26.9 -k "proc.num[]"</code>
<code>234</code>
<code>[root@web02 zabbix]</code><code># </code>
<code>%%%%%%%%%%%%%%%%%%%%</code>
<code>[root@web02 zabbix]</code><code># zabbix_get -s 59.110.26.9 -k "agent.ping"</code>
<code>1</code>
<code>[root@web02 zabbix]</code><code># zabbix_get -s 59.110.26.9 -k "system.hostname"</code>
<code>web02</code>
<code>[root@web02 zabbix]</code><code># zabbix_get -s 59.110.26.9 -k "kernel.maxfiles"</code>
<code>99150</code>
<code>[root@web02 zabbix]</code><code># zabbix_get -s 59.110.26.9 -k "system.cpu.util[,user]"</code>
<code>2.444370</code>
<code>[root@web02 zabbix]</code><code>#</code>
4.然后调整模板触发器的值
<a href="https://s3.51cto.com/wyfs02/M01/8E/3D/wKioL1i6MnGwM_3jAAIbgnmVwms254.png-wh_500x0-wm_3-wmp_4-s_4175066325.png" target="_blank"></a>
<a href="https://s3.51cto.com/wyfs02/M01/8E/3D/wKioL1i6MnKiIc0fAAFEuPxwXaI388.png-wh_500x0-wm_3-wmp_4-s_1477912597.png" target="_blank"></a>
本文转自 小小三郎1 51CTO博客,原文链接:http://blog.51cto.com/wsxxsl/1903154,如需转载请自行联系原作者