雑メモ

ntpd

ntpdのスルーモードでは、1秒間に調整できる時刻は0.5ミリ秒に制限されている。 1秒の時刻ズレを調整するのに、2,000秒かかる計算。

Since the slew rate is limited to 0.5 ms/s, each second of adjustment requires an amortization interval of 2000 s.

http://doc.ntp.org/4.1.0/ntpd.htm

 

Zabbix

トリガー演算子

2.2 と 3.0 では、トリガー演算子の使い方が変わっているので注意。

2.2以前

PRIORITY OPERATOR DEFINITION
1 / Division
2 * Multiplication
3 - Arithmetical minus
4 + Arithmetical plus
5 < Less than. The operator is defined as: A<B ⇔ (A<=B-0.000001)
6 > More than. The operator is defined as: A>B ⇔ (A>=B+0.000001)
7 # Not equal. The operator is defined as: A#B ⇔ (A<=B-0.000001) | (A>=B+0.000001)
8 = Is equal. The operator is defined as: A=B ⇔ (A>B-0.000001) & (A<B+0.000001)
9 & Logical AND
10 | Logical OR

3.0以降

PRIORITY OPERATOR DEFINITION
1 - Unary minus
2 not Logical NOT
3 * Multiplication
/ Division
4 + Arithmetical plus
- Arithmetical minus
5 < Less than. The operator is defined as: A<B ⇔ (A<B-0.000001) since Zabbix 3.0.17 A<B ⇔ (A≤B-0.000001) before Zabbix 3.0.17
<= Less than or equal to. The operator is defined as: A<=B ⇔ (A≤B+0.000001) since Zabbix 3.0.17 A<=B ⇔ (A<B+0.000001) before Zabbix 3.0.17
> More than. The operator is defined as: A>B ⇔ (A>B+0.000001) since Zabbix 3.0.17 A>B ⇔ (A≥B+0.000001) before Zabbix 3.0.17
>= More than or equal to. The operator is defined as: A>=B ⇔ (A≥B-0.000001) since Zabbix 3.0.17 A>=B ⇔ (A>B-0.000001) before Zabbix 3.0.17
6 = Is equal. The operator is defined as: A=B ⇔ (A≥B-0.000001) and (A≤B+0.000001) since Zabbix 3.0.17 A=B ⇔ (A>B-0.000001) and (A<B+0.000001) before Zabbix 3.0.17
<> Not equal. The operator is defined as: A<>B ⇔ (A<B-0.000001) or (A>B+0.000001) since Zabbix 3.0.17 A<>B ⇔ (A≤B-0.000001) or (A≥B+0.000001) before Zabbix 3.0.17
7 and Logical AND
8 or Logical OR

復旧閾値

3.2以降から、トリガーに復旧閾値を設定することができるようになった。

3.0以前でも、トリガー条件式で{{TRIGGER.VALUE}}を組み合わせるなどすれば復旧閾値を設定することは可能だったが、3.2以降は独立した設定項目が用意された。