両方とも前のリビジョン 前のリビジョン | 次のリビジョン両方とも次のリビジョン |
ja:documentation:08_technical_reference:02_annex_externalapi [2022/11/11 22:16] – [get events] junichi | ja:documentation:08_technical_reference:02_annex_externalapi [2022/11/25 22:26] – [get events] junichi |
---|
- ''more_criticity'': returns the number of most critical events, for example if requested in JSON format: ''{"type":"json","data":[{"criticity":"4","user_can_manage":"1","user_can_write":"1","server_id":5,"server_name":"stod"}]}''. | - ''more_criticity'': returns the number of most critical events, for example if requested in JSON format: ''{"type":"json","data":[{"criticity":"4","user_can_manage":"1","user_can_write":"1","server_id":5,"server_name":"stod"}]}''. |
- < group_id > returns **non-validated** events belonging to a group of agents, use numeric values only. | - < group_id > returns **non-validated** events belonging to a group of agents, use numeric values only. |
- < tag > any of the tags registered in PFMS. | - < tag > any of the tags registered in PFMS (see ''[[:en:documentation:08_technical_reference:02_annex_externalapi#get_tags|get tags]]'' ). JSON format required, for example: ''[“2”,“5”]'' (see [[:en:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_external_api|call syntax]]). |
- < event type > any of the following values: | - < event type > any of the following values: |
* ''going_unknown'' | * ''going_unknown'' |
- ''more_criticity'': 最も重大なイベントの数を返します。JSON 形式でリクエストされた場合の例: ''{"type":"json","data":[{"criticity":"4","user_can_manage":"1","user_can_write":"1","server_id":5,"server_name":"stod"}]}''. | - ''more_criticity'': 最も重大なイベントの数を返します。JSON 形式でリクエストされた場合の例: ''{"type":"json","data":[{"criticity":"4","user_can_manage":"1","user_can_write":"1","server_id":5,"server_name":"stod"}]}''. |
- < グループ ID > エージェントのグループに属する **未承諾** イベントを返します。数値のみ指定できます。 | - < グループ ID > エージェントのグループに属する **未承諾** イベントを返します。数値のみ指定できます。 |
- < タグ > Pandora FMS に登録されている任意のタグです。 | - < タグ > Pandora FMS に登録されている任意のタグです。(''[[:ja:documentation:08_technical_reference:02_annex_externalapi#get_tags|get tags]]'' を参照)。JSON フォーマットである必要があります。例: ''[“2”,“5”]'' ([[:ja:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_外部_api|書式]] を参照)。 |
- < イベントタイプ > 以下の値を指定できます: | - < イベントタイプ > 以下の値を指定できます: |
* ''going_unknown'' | * ''going_unknown'' |