---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - de-DE

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# HTTP-Antwortcodeprüfung

# HTTP-Antwortcodeprüfung {#ariaid-title1}

* Freigeben Version: Yokohama
* 
* Aktualisiert 30. Januar 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Agent Client Collector Stellt die folgende zusätzliche Prüfung auf HTTP-Antwortcode bereit. Diese Prüfung ist keiner Richtlinie zugeordnet.
{#http-response-code-check__table_k2q_bwj_g5b__entry__5}

| Typ | Name | Beschreibung | Nutzungs- und Nutzungsbeispiel | Ausgabe |
|-|-|-|-|-|
| Ereignis | util.check-http-response-code | Löst ein kritisches Ereignis aus, wenn der URL-Antwortcode nicht mit dem regulären Ausdruck übereinstimmt. Übergeben Sie Anmeldeinformationen (Anwendername und Passwort) mit sicheren Parametern. | -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 Nutzungsbeispiel: `Befehl: Check-response-Code.rb -u 'https://servicenow.com' -r 2.. -F ` | `CheckResponseCode OK: URL befindet sich im Status „OK". HTTP-Antwortcode ist 200, entspricht dem regulären Ausdruck` |
[Tabelle : 1. HTTP-Antwortcodeprüfung]

{#http-response-code-check__table_k2q_bwj_g5b}

