1
0
Fork 0

v-m: scrape: Fix Nextcloud URL

Nextcloud uses a _client-side_ (Javascript) redirect to navigate the
browser to its `index.php`.  The page it serves with this redirect is
static and will often load successfully, even if there is a problem with
the application.  This causes the Blackbox exporter to record the site
as "up," even when it it definitely is not.  To avoid this, we can
scrape the `index.php` page explicitly, ensuring that the application is
loaded.
pull/38/head
Dustin 2024-11-17 18:43:00 +00:00
parent 14492d827a
commit e0c633c21e
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ applications:
- instance: homeassistant.pyrocufflink.blue - instance: homeassistant.pyrocufflink.blue
- name: Nextcloud - name: Nextcloud
url: &url https://nextcloud.pyrocufflink.net/ url: &url https://nextcloud.pyrocufflink.net/index.php
icon: icon:
url: icons/nextcloud.png url: icons/nextcloud.png
alerts: alerts:

View File

@ -57,7 +57,7 @@ scrape_configs:
- http://pyrocufflink.net/ - http://pyrocufflink.net/
- http://ebonfire.com/ - http://ebonfire.com/
- http://chmod777.sh/ - http://chmod777.sh/
- https://nextcloud.pyrocufflink.net/ - https://nextcloud.pyrocufflink.net/index.php
- https://bitwarden.pyrocufflink.blue/ - https://bitwarden.pyrocufflink.blue/
- https://git.pyrocufflink.blue/ - https://git.pyrocufflink.blue/
- https://tabitha.biz/ - https://tabitha.biz/