# Nextcloud-App-Update-Benachrichtigungen mit Uptime Kuma

Es ist möglich, mittels Uptime Kuma über verfügbare Updates für Nextcloud-Apps informiert zu werden. 

Dazu braucht ihr als erstes einen entsprechenden Token, den ihr per `occ` generieren könnt:

`occ config:app:set serverinfo token --value <YOURSECRETSECURETOKEN>`

bzw. mit abra:

`abra app cmd <app-name> app run_occ '"config:app:set serverinfo token --value <YOURSECRETSECURETOKEN>"'`

In Uptime-Kuma erstellt ihr dann einen Monitor mit folgenden Einstellungen (s.u. für Copy & Paste):

 ![](https://wiki.local-it.org/api/files.get?sig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1cGxvYWRzL2U4NDAyMWQzLTJhYTAtNGQwZi05YzVjLTk1MjZkNTk0NDMxZC8wYzc5ZTk2OS0xYjI1LTQ3NGEtOGE0MS04NTcxNDNiMWEyZTcvZ3JhZmlrLnBuZyIsInR5cGUiOiJhdHRhY2htZW50IiwiaWF0IjoxNzk0NjE3MTAwLCJleHAiOjE3OTQ3MDM1MDB9.3tVhV4cly5PwdVULLfHj5L3fmSxRmPm68JctXwapi4M)



| Einstellung | Wert |
|-------------|------|
| Typ         | Json-Abfrage |
| URL         | `https://files.<CLOUD>.de/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipApps=false` |
| Json-Abfrage | `ocs.data.nextcloud.system.apps.num_updates_available` |
| Erwarteter Wert | `0`  |
| Header      | ```javascript<br>{<br>    "NC-Token": "<YOURSECRETSECURETOKEN>"<br>}<br>``` |

---

**Documents**

- [User:innen Guide](https://wiki.local-it.org/s/kollicloud-wiki/doc/userinnen-guide-zUit9qbRxm)
- [Selfhosting Guide](https://wiki.local-it.org/s/kollicloud-wiki/doc/selfhosting-guide-1xZJt8UIha)
- [Kollektivhosting](https://wiki.local-it.org/s/kollicloud-wiki/doc/kollektivhosting-9uzforQcz4)
- [FAQ zur KolliCloud](https://wiki.local-it.org/s/kollicloud-wiki/doc/faq-zur-kollicloud-1XlLVf5QpO)
- [Technik-Glossar](https://wiki.local-it.org/s/kollicloud-wiki/doc/technik-glossar-mqY0TUfkKy)