---
sourceDocument: Xanadu IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/xanadu/it-operations-management

 Release :

    - xanadu

ft:locale :

    - ja-JP

ft:publication_title :

    - Xanadu IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# HTTP 応答コードチェック

# HTTP 応答コードチェック {#ariaid-title1}

* リリースバージョン: Xanadu
* 
* 更新日 2024年08月01日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：1分

エージェントクライアントコレクター は、HTTP 応答コードに次の追加チェックを提供します。このチェックはどのポリシーにも関連付けられていません。
{#http-response-code-check__table_k2q_bwj_g5b__entry__5}

| タイプ | 名前 | 説明 | 使用方法と使用例 | 出力 |
|-|-|-|-|-|
| イベント | util.check-http-response-code | URL 応答コードが正規表現と一致しない場合は、重大なイベントを発生させます。 セキュアなパラメーターを使用して認証情報 (ユーザー名とパスワード) を渡します。 | -u, --url  URL needs to be updated in the Monitoring HTTP Entrypoint/cmdb_ci_endpoint_http_list.do for the CI -r, --response-code  Regex string to match the response code. Otherwise, a critical event is raised. Default: 200 -f, --follow_redirects Follows redirect URLs 使用例：`command: check-response-code.rb -u 'https://servicenow.com/jp/' -r 2.. -f` | `CheckResponseCode OK : URL is in OK state. HTTP Response code is 200, matches regex` |
[表 : 1. HTTP 応答コードチェック]

{#http-response-code-check__table_k2q_bwj_g5b}

