Commit 49e04046 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added blackbox targets for jaytaala.com and unswcanberraspace.com endpoints....

Added blackbox targets for jaytaala.com and unswcanberraspace.com endpoints. Exposed ports for prometheus on host (10090) and changed host port for grafana (4000). Set grafana.ini for jaytaala.com and anon viewing.

Deprecated and removed jira.jaytaala.com from monitoring.
parent 915de273
...@@ -4,6 +4,8 @@ services: ...@@ -4,6 +4,8 @@ services:
image: prom/prometheus image: prom/prometheus
container_name: prom container_name: prom
restart: always restart: always
ports:
- 10090:9090
environment: environment:
- config.file=/etc/prometheus/prometheus.yml - config.file=/etc/prometheus/prometheus.yml
- storage.tsdb.path=/prometheus - storage.tsdb.path=/prometheus
...@@ -27,7 +29,7 @@ services: ...@@ -27,7 +29,7 @@ services:
container_name: graf container_name: graf
restart: always restart: always
ports: ports:
- 3000:3000 - 4000:3000
volumes: volumes:
- ./grafana.ini:/etc/grafana/grafana.ini - ./grafana.ini:/etc/grafana/grafana.ini
- graf-data:/var/lib/grafana - graf-data:/var/lib/grafana
......
[server] [server]
domain = domain.example.com domain = mon.jaytaala.com
[auth.anonymous] [auth.anonymous]
enabled = true enabled = true
# Organization name that should be used for unauthenticated users # Organization name that should be used for unauthenticated users
org_name = example.com org_name = jaytaala.com
# Role for unauthenticated users, other valid values are `Editor` and `Admin` # Role for unauthenticated users, other valid values are `Editor` and `Admin`
org_role = Viewer org_role = Viewer
...@@ -40,8 +40,21 @@ scrape_configs: ...@@ -40,8 +40,21 @@ scrape_configs:
module: [http_2xx] # Look for a HTTP 200 response. module: [http_2xx] # Look for a HTTP 200 response.
static_configs: static_configs:
- targets: - targets:
- https://example.com - https://jaytaala.com
- https://startpage.com - https://bitwarden.jaytaala.com
- https://confluence.jaytaala.com
- https://chat.jaytaala.com
- https://crowd.jaytaala.com
- https://gitlab.jaytaala.com
- https://url.jaytaala.com
- https://opstoolkit.unswcanberraspace.com
- https://opstoolkit-dev.unswcanberraspace.com
- https://confluence.unswcanberraspace.com
- https://bitbucket.unswcanberraspace.com
- https://jira.unswcanberraspace.com
- https://crowd.unswcanberraspace.com
- https://rcode.unswcanberraspace.com
- https://survey.unswcanberraspace.com
relabel_configs: relabel_configs:
- source_labels: [__address__] - source_labels: [__address__]
target_label: __param_target target_label: __param_target
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment