> For the complete documentation index, see [llms.txt](https://docs.shop-studio.io/shopware/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shop-studio.io/shopware/de/erweiterungen/health-check/einrichtung.md).

# Einrichtung

Um die Health Check App funktionsfähig zu machen, ist eine zusätzliche App notwendig. Denn, wenn dein Shop down ist, ist auch die Health Check App down und kann dich nicht benachrichtigen.

Wir empfehlen hierfür die Nutzung von <https://betterstack.com/better-uptime>. Better Stack benachrichtigt dich im Falle eines Ausfalls wahlweise über Email, Slack oder auch per Telefon. Um Better Stack richtig zu nutzen, musst du in deinem Better Stack Profil die URL `https://dein-shop.com/shop-studio-health-check/health` integrieren.

Du kannst das Health Check Plugin aber auch ein wenig konfigurieren. Hierfür musst du im Admin zu `Erweiterungen > Meine Erweiterungen > Apps` gehen und anschließend bei dem Plugin "Health Check" rechts auf `... > Konfiguration` klicken.

<figure><img src="/files/sKxpvAJEUCrvkZMmTYOP" alt=""><figcaption></figcaption></figure>

### Einstellungen

Hier kannst du unter HTTPS weitere URL's eintragen, um auch diese einem Health Check zu unterziehen und auch einen HealthCheck für ElasticSearch aktivieren.

Beispielsweise kannst du unter `HTTP ping URLs`weitere wichtige URL's eintragen, welche auf anderen Servern liegen. So kannst z.B. du wichtige URLs wie CDNs auf Erreichbarkeit prüfen. Auch HTTPS Zertifikate werden überprüft.

<figure><img src="/files/FEEZkO0eiPcNqiukJp4a" alt=""><figcaption></figcaption></figure>

### Heartbeat Check

Der Heartbeat Check sorgt dafür, dass in regelmäßigen Abständen Hintergrundfunktionen deines Shops überwacht werden (z.B. Scheduled Tasks). Du konfigurierst wie häufig das Plugin ein Lebenszeichen an dein Health-Monitoring-Tool senden soll. Kommt bei einer Abfrage keine Rückmeldung deiner Seite zustande, so erhältst du eine Benachrichtigung.

Hierfür musst du zunächst in <https://betterstack.com/better-uptime> eine Heartbeat URL generieren und konfigurieren, wie häufig diese überprüft werden soll. Anschließend fügst du die URL unter `Erweiterungen > Meine Erweiterungen > Heartbeat check URL` ein.

<figure><img src="/files/FVdzytUq43YRPwnk5724" alt=""><figcaption></figcaption></figure>

### Überprüfe die Funktion der Health Check Erweiterung

Gib in deiner URL Zeile deine Url und anschließend `/shop-studio-health-check/health` ein. Hier kannst du nun sehen, ob deine Seiten aktuell erreichbar sind. Wenn du hier "up" und "true" siehst, so sind deine Seiten online. Übrigens kannst du bei Bedarf diese Seite auch mit einem Nutzernamen und Passwort schützen (Basic Auth).

<figure><img src="/files/i9WY3O7YCBMbdLwck35n" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.shop-studio.io/shopware/de/erweiterungen/health-check/einrichtung.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
