<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>L. MIS - Zabbix 4.0 Server(Trigger)告警觸發器</title>
    <link>https://mis.linyumo.tw/forum-42-1.html</link>
    <description>Latest 20 threads of Zabbix 4.0 Server(Trigger)告警觸發器</description>
    <copyright>Copyright(C) L. MIS</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Thu, 04 Jun 2026 20:19:02 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://mis.linyumo.tw/static/image/common/logo_88_31.gif</url>
      <title>L. MIS</title>
      <link>https://mis.linyumo.tw/</link>
    </image>
    <item>
      <title>logsource-Windows</title>
      <link>https://mis.linyumo.tw/thread-326-1-1.html</link>
      <description><![CDATA[logsource   取得記錄檔來源紀錄
說明：
傳回最近的記錄檔資料來源與正規表示法比對內容，當傳回值為0時，表示表示不符合
資料型態：    log
目前監控環境
監控主機名稱  ：win2012
主機作業系統：Windows   Server 2012
目標需求：檢測登入主機   win2012   是否失敗， ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Mon, 12 Feb 2024 04:45:26 +0000</pubDate>
    </item>
    <item>
      <title>logseverity-Windows</title>
      <link>https://mis.linyumo.tw/thread-325-1-1.html</link>
      <description><![CDATA[logseverity   取得記錄檔等級
說明：
傳回最近的記錄檔項目的記錄檔等級，通常用於 Windows event logs 監控，其實就是例如登入失敗，會出現稽核失敗，傳回值就不會等於0，僅適合監控 Windows OS
資料型態：    log
目前監控環境
監控主機名稱  ：win2012
主機作業系統 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Fri, 09 Feb 2024 08:31:18 +0000</pubDate>
    </item>
    <item>
      <title>logeventid-Windows</title>
      <link>https://mis.linyumo.tw/thread-323-1-1.html</link>
      <description><![CDATA[logeventid   記錄檔內容檢測
說明：
檢測符合的 event id 是否與正規比對是否符合其觸發條件，僅適合監控 Windows OS
資料型態：     log
目前監控環境
監控主機名稱  ：win2012
主機作業系統：Windows   Server 2012
目標需求：檢測登入主機   win2012   是否失敗
監 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Sat, 30 Dec 2023 07:37:53 +0000</pubDate>
    </item>
    <item>
      <title>fuzzytime</title>
      <link>https://mis.linyumo.tw/thread-322-1-1.html</link>
      <description><![CDATA[fuzzytime 時間比較
說明：
比較zabbix   伺服器與   zabbix-agent   的時間差，如果差異超過指定時間則告緊，且傳回值為 0，反之則傳回 1
資料型態：   float、 int、
用法：
fuzzytime(sec)
fuzzytime(5m)         ==&gt;   被監控端與   Zabbix server 時間差5分
fuzzyt ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Wed, 08 Nov 2023 07:35:48 +0000</pubDate>
    </item>
    <item>
      <title>dayofweek</title>
      <link>https://mis.linyumo.tw/thread-321-1-1.html</link>
      <description><![CDATA[dayofweek 本周第幾天
說明：
傳回目前時間為本周第幾天，數值範圍為1-7
資料型態：    float、 int、 str、 text、 log
目前監控環境
監控主機名稱  ：zabbix4-test1
主機作業系統：CentOS
目標需求：檢測主機   zabbix4-test1   取得磁碟剩餘空間大小之時的時間，超過 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Wed, 08 Nov 2023 06:56:29 +0000</pubDate>
    </item>
    <item>
      <title>dayofmonth</title>
      <link>https://mis.linyumo.tw/thread-320-1-1.html</link>
      <description><![CDATA[dayofmonth 本月第幾天
說明：
傳回目前時間為本月第幾天，數值範圍為1-31
資料型態：    float、 int、 str、 text、 log
目前監控環境
監控主機名稱  ：zabbix4-test1
主機作業系統：CentOS
目標需求：檢測主機   zabbix4-test1   取得磁碟剩餘空間大小之時的時間，超 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Wed, 08 Nov 2023 02:29:47 +0000</pubDate>
    </item>
    <item>
      <title>time</title>
      <link>https://mis.linyumo.tw/thread-319-1-1.html</link>
      <description><![CDATA[time 傳回目前時間(時分秒)
說明：
傳回目前時間，格式為HHMMSS
資料型態：    float、 int、 str、 text、 log
目前監控環境
監控主機名稱  ：zabbix4-test1
主機作業系統：CentOS
目標需求：檢測主機   zabbix4-test1   取得磁碟空間大小之時的時間
範例：
一． 至 Ho ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Tue, 07 Nov 2023 15:21:08 +0000</pubDate>
    </item>
    <item>
      <title>date</title>
      <link>https://mis.linyumo.tw/thread-318-1-1.html</link>
      <description><![CDATA[date   傳回目前日期(年月日)
說明：
傳回目前日期，格式為YYYYMMDD
資料型態：    float、 int、 str、 text、 log
目前監控環境
監控主機名稱  ：zabbix4-test1
主機作業系統：CentOS
目標需求：檢測主機   zabbix4-test1   取得磁碟剩餘空間之時的日期
範例：
一．  ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Tue, 07 Nov 2023 13:49:10 +0000</pubDate>
    </item>
    <item>
      <title>now</title>
      <link>https://mis.linyumo.tw/thread-317-1-1.html</link>
      <description><![CDATA[now   傳回目前時間(年月日時分秒)
說明：
傳回目前的時間，以   UNIX 時間(UTC1970年1月1日0時0分0秒起至現在的總秒數)來計算
資料型態：    float、 int、 str、 text、 log
目前監控環境
監控主機名稱  ：zabbix4-test1
主機作業系統：CentOS
目標需求：檢測主機   z ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Sun, 05 Nov 2023 16:26:56 +0000</pubDate>
    </item>
    <item>
      <title>count</title>
      <link>https://mis.linyumo.tw/thread-316-1-1.html</link>
      <description><![CDATA[count 統計個數
說明：
取得最近一段時間內或指定資料的個數求得數值個數
資料型態：    float、 int、 str、 text、 log
用法：
count(sec|#num,,,)
count(600)                                                       ==&gt;   取得最近600(10分鐘)秒內數值的個數
count ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Wed, 01 Nov 2023 07:45:41 +0000</pubDate>
    </item>
    <item>
      <title>sum</title>
      <link>https://mis.linyumo.tw/thread-315-1-1.html</link>
      <description><![CDATA[sum 求值和
說明：
取得最近一段時間內或指定個數的資料求得所有值的和
資料型態：    float、 int
用法：
sum(sec|)
sum(5m)                       ==&gt;   取得最近5分鐘的監控數值的所有值的和
sum(1h)                          ==&gt;  取得 最近1小時的監控數值的所有 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Mon, 30 Oct 2023 07:26:39 +0000</pubDate>
    </item>
    <item>
      <title>avg</title>
      <link>https://mis.linyumo.tw/thread-314-1-1.html</link>
      <description><![CDATA[avg 求平均值
說明：
取得最近一段時間內或指定個數的資料求得平均值
資料型態：    float、 int
用法：
avg(sec|)
avg(5m)                       ==&gt;   取得最近5分鐘的監控數值的平均值
avg(1h)                          ==&gt;  取得 最近1小時的監控數值的平均值
avg ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Mon, 30 Oct 2023 06:49:16 +0000</pubDate>
    </item>
    <item>
      <title>min</title>
      <link>https://mis.linyumo.tw/thread-313-1-1.html</link>
      <description><![CDATA[min 求最小值
說明：
取得最近一段時間內或指定個數的資料求得最小值
資料型態：    float、 int
用法：
min(sec|)
min(5m)                       ==&gt;   取得最近5分鐘的監控數值的最小值
min(1h)                          ==&gt;  取得 最近1小時的監控數值的最小值
min ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Mon, 30 Oct 2023 02:46:13 +0000</pubDate>
    </item>
    <item>
      <title>max</title>
      <link>https://mis.linyumo.tw/thread-312-1-1.html</link>
      <description><![CDATA[max 求最大值
說明：
取得最近一段時間內或指定個數的資料求得最大值
資料型態：    float、 int
用法：
max(sec|)
max(5m)                         ==&gt;   取得最近5分鐘的監控數值的最大值
max(1h)                            ==&gt;   取得最近1小時的監控數值的最大值 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Sun, 29 Oct 2023 12:56:40 +0000</pubDate>
    </item>
    <item>
      <title>prev</title>
      <link>https://mis.linyumo.tw/thread-311-1-1.html</link>
      <description><![CDATA[prev 求前一個值
說明：
求前一個值，同等   last(#2)   所得到的數值
資料型態：    float、 int、 str、 text、 log
目前監控環境
監控主機名稱  ：zabbix4-test1
主機作業系統：CentOS
目標需求：檢測主機   zabbix4-test1   agent.ping   所得到的值小於   1
範例： ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Sun, 29 Oct 2023 12:40:33 +0000</pubDate>
    </item>
    <item>
      <title>last</title>
      <link>https://mis.linyumo.tw/thread-310-1-1.html</link>
      <description><![CDATA[last 取得最新資料
說明：
取得最近一段時間內或指定個數的資料
資料型態：    float、 int、 str、 text、 log
用法：
last(sec|)
last(3m)=X                   ==&gt;   取得最近3分鐘的監控數值等於   X
last(#3)&gt;X                     ==&gt;   取得第三次的監控數值大 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Sun, 29 Oct 2023 09:49:22 +0000</pubDate>
    </item>
    <item>
      <title>nodata</title>
      <link>https://mis.linyumo.tw/thread-309-1-1.html</link>
      <description><![CDATA[nodata 資料失聯
說明：
檢測被監控端與控端是否正常連結，回傳 1 表示沒收到資料，反之   0   為正常
資料型態：    float、 int、 str、 text、 log
用法：
nodata(sec)
nodata(30s)   ==&gt;   30秒內是否偵測到資料
目前監控環境
監控主機名稱  ：zabbix4-test1
主機作 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Sun, 29 Oct 2023 08:57:55 +0000</pubDate>
    </item>
    <item>
      <title>band</title>
      <link>https://mis.linyumo.tw/thread-308-1-1.html</link>
      <description><![CDATA[band 數值的位元 AND 運算
說明：
將最近的值和遮罩進行位元 AND   運算，主要是二進位的   AND   運算，所以使用此功能前先了解二進位與十進位的運算，會使用到是因為有些擷取的資料為二進位資料
資料型態：   int
用法：
band(sec|#num,mask,)
band(,61)=40
band(#1,1 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Tue, 24 Oct 2023 12:04:24 +0000</pubDate>
    </item>
    <item>
      <title>change</title>
      <link>https://mis.linyumo.tw/thread-307-1-1.html</link>
      <description><![CDATA[change 求最近兩職的變化量
說明：
比較最近資料的值和前一個資料的值是否相同，相同傳回   0，不同的話傳回1
資料型態：   float、 int、 str、 text、 log
用法：
change() &gt; X       (最近兩值的變化量大於 X)
change() &lt; X      (最近兩值的變化量小於 X)
change()  ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Tue, 24 Oct 2023 08:34:11 +0000</pubDate>
    </item>
    <item>
      <title>diff</title>
      <link>https://mis.linyumo.tw/thread-306-1-1.html</link>
      <description><![CDATA[diff 判斷最近兩值是否相同
說明：
比較最近資料的值和前一個資料的值是否相同，相同傳回   0，不同的話傳回1
資料型態：   float、 int、 str、 text、 log
用法：
diff()=0   (相同)
diff()=1   (不相同)
範例：
一． 至 Host 選擇   Zabbix server   的   Tiggers


 ...]]></description>
      <category>Zabbix 4.0 Server(Trigger)告警觸發器</category>
      <author>admin</author>
      <pubDate>Mon, 23 Oct 2023 08:35:50 +0000</pubDate>
    </item>
  </channel>
</rss>