通知プロファイルの通知条件が、正常に関連付けられているか確認する方法
作成日:2017年11月15日 | 更新日:2022年10月25日
概要
通知プロファイルの通知条件が、正常に関連付けられているか確認する方法をご説明いたします。
解説
DBクエリを用いて、設定値を確認します。
DBクエリの実行方法はこちら
<手順>
1.下記クエリを実行し、profilenameカラム、agentカラムおよびcriteriaidカラムから、確認したいプロファイル名、対象装置およびと通知条件の識別IDを確認
select profilename,agent,criteriaid from notificationprofile,profileassociation where notificationprofile.profileid = profileassociation.profileid
抽出例
profilename | agent | criteriaid |
---|---|---|
test | winserver | 2 |
testmail | 192.x.xx.x | 302 |
テーブル2. 下記クエリを実行し、項番1で得た情報をもとに対象条件を特定し、条件を確認
select * from profilecriteria
抽出例※一部カラムを省略しています。
criteriaid | criterianame | - | statuspoll | - | - | - | winservice | - | - | - | threshold |
---|---|---|---|---|---|---|---|---|---|---|---|
2 | winserver_302 | null | 1 | all | all | yes | yes | all | all | all | all |
302 | 192.x.xx.x_601 | null | no | no | no | no | yes | no | no | no | yes |
項番2のクエリ結果の詳細
statuspollについて
「装置ダウンの条件:注意/警告/重大」で選択した重要度に紐づくポーリング回数が表示されます。
yesについて
下記クエリを実行することで、yesの内訳を確認することが可能です。
select e.CRITERIAID,c.task,c.alarmcode,p.agent from ntservicerulelist e INNER JOIN CriteriaOptions c ON e.RULEID = c.RULEID INNER JOIN profileassociation p ON p.criteriaid = e.criteriaid
allについて
allは対象条件で、全ての項目にチェックを入れていることを示しています。
★-----------------------------------------------------------------------------★
OpManager 製品紹介ページはこちら ↓
https://www.manageengine.jp/products/OpManager/
★-----------------------------------------------------------------------------★