![見出し画像](https://assets.st-note.com/production/uploads/images/64481481/rectangle_large_type_2_b349729c0c922f2437d2919ee9a10fc6.jpg?width=1200)
zabbix5.2でBITS等のサービス起動エラーを止めた
以下のエラーが出るので止めてみた。
Problem: "BITS" (Background Intelligent Transfer Service) is not running (startup type automatic delayed)
作成時の記事は以下
正規表現はここ
先人の教えを探しにサイトを巡ったが、5.2だと「管理」-「一般設定」-「正規表現」ってどこなんだろうという所で詰まったけど見つかった。
![画像1](https://assets.st-note.com/production/uploads/images/64429049/picture_pc_ebe4440b4f17e35688f632beae9ce749.png)
ここを開いて
![画像2](https://assets.st-note.com/production/uploads/images/64429157/picture_pc_868a921109e3de73492a0b2d69ce2a1d.png?width=1200)
条件式を以下のようにする。
![画像3](https://assets.st-note.com/production/uploads/images/64429187/picture_pc_1f9d57f7c6980fa9f4355628b7af101d.png?width=1200)
^(BITS|TrustedInstaller|WbioSrvc|sppsvc|OneSyncSvc|edgeupdate|MMCSS|gupdate|SysmonLog|clr_optimization_v2.0.50727_32|clr_optimization_v4.0.30319_32)$
しかし止まらない
監視データ-障害画面から問題の障害の設定を開く
![画像4](https://assets.st-note.com/production/uploads/images/64429528/picture_pc_2022937378bdb2dd6dbe115e9b78afd9.png?width=1200)
「Discovered by Windows Services discovery」とあるので開く
![画像5](https://assets.st-note.com/production/uploads/images/64429581/picture_pc_75b00793750511f762158f347c7dba1c.png)
親トリガーの「Windows services by Zabbix agent」を開く
![画像6](https://assets.st-note.com/production/uploads/images/64431386/picture_pc_c1e35459a15c5def40a0c8c238a3eefe.png?width=1200)
画面上部の「Windows services by Zabbix agent」を開く
![画像7](https://assets.st-note.com/production/uploads/images/64431465/picture_pc_7e7a06032acd62ae9c31485587052d87.png?width=1200)
マクロを開く
{$SERVICE.NAME.NOT_MATCHES}の部分を変更する。
![画像9](https://assets.st-note.com/production/uploads/images/64431617/picture_pc_e152725acb9b05fa76d6983ff70e10d2.png?width=1200)
変更前
^RemoteRegistry|MMCSS|gupdate|SysmonLog|clr_optimization_v.+|clr_optimization_v.+|sppsvc|gpsvc|Pml Driver HPZ12|Net Driver HPZ12|MapsBroker|IntelAudioService|Intel\(R\) TPM Provisioning Service|dbupdate|DoSvc$
変更後(BITS、WbioSrvc、TrustedInstaller、sppsvc、OneSyncSvc、edgeupdate、CDPUserSvcを除外設定)
^BITS|WbioSrvc|TrustedInstaller|sppsvc|OneSyncSvc|edgeupdate|CDPUserSvc|RemoteRegistry|MMCSS|gupdate|SysmonLog|clr_optimization_v.+|clr_optimization_v.+|sppsvc|gpsvc|Pml Driver HPZ12|Net Driver HPZ12|MapsBroker|IntelAudioService|Intel\(R\) TPM Provisioning Service|dbupdate|DoSvc$
あれもしかして
先人達の言葉には「設定後監視する機器を再登録」というのがあったことを思い出したので何のテンプレートを付けていたのをメモしておいて一度消して再登録。
手動でBITSをONOFFしてアラートが出ないことを確認。
どうやらこれでOKらしい。
今回は以上。
この記事が気に入ったらサポートをしてみませんか?