Compare commits

..

5 Commits

Author SHA1 Message Date
gballan be2208b245 Adding uptime kuma config
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-24 00:14:43 -04:00
gballan 089f875520 Adding new Pi 5 1GB to inventory; updating monitoring server nodes list with new wifi node IPs
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-20 22:03:21 -04:00
gballan ea32497180 Adding playbook to run benchmarks via sysbench
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-16 14:58:36 -04:00
gballan bbf63b4c63 Adding Raspberry Pi Zero 1; adding Pi 3A+ and Pi Zero to Grafan
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-07 01:09:26 -04:00
gballan 588a44a0c1 Adding Pi 3A+
ci/woodpecker/push/woodpecker Pipeline failed
2026-10-05 22:35:10 -04:00
6 changed files with 75 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
---
#ansible_user: xadmin
ansible_user: xadmin
packages_common:
- 'bash'
@@ -80,6 +80,6 @@ sssd_default_shell: "/bin/bash"
sudoers_sudoers:
privileges:
- name: '%sudo'
entry: 'ALL=(ALL) ALL'
entry: 'ALL=NOPASSWD:ALL'
- name: '%linuxadmins'
entry: 'ALL=NOPASSWD:ALL'
@@ -13,6 +13,12 @@ prometheus_node_exporter_targets:
- "10.7.10.102:9100"
- "10.7.10.105:9100"
- "10.7.10.106:9100"
- "10.7.10.107:9100"
- "10.7.20.65:9100"
- "10.7.20.66:9100"
- "10.7.20.67:9100"
- "10.7.20.68:9100"
- "10.7.20.69:9100"
- "ci-v2-arm1.int.metaunix.net:9100"
- "ci-v2-arm2.int.metaunix.net:9100"
- "ci-v2-arm3.int.metaunix.net:9100"
+9
View File
@@ -54,6 +54,12 @@ pi1b-2 ansible_host=10.7.10.102
pi3b ansible_host=10.7.10.104
pi4b4g ansible_host=10.7.10.105
pi5b2g ansible_host=10.7.10.106
picm5-1 ansible_host=10.7.10.107
picam-1 ansible_host=10.7.20.65
pimusic-1 ansible_host=10.7.20.66
pimusic-2 ansible_host=10.7.20.67
pizero1 ansible_host=10.7.20.68
pi5b1g ansible_host=10.7.20.69
[serial_ttyd]
pitty-v1-sw ansible_host=10.7.10.15
@@ -63,6 +69,9 @@ pitty-v1-pico ansible_host=10.7.10.16
smtp1 ansible_host=smtp1.int.metaunix.net
smtp2 ansible_host=smtp2.int.metaunix.net
[uptime_kuma]
pi5b1g ansible_host=10.7.20.69
[web_servers]
www3 ansible_host=www3.int.metaunix.net
www4 ansible_host=www4.int.metaunix.net
+32
View File
@@ -0,0 +1,32 @@
---
- name: Run Sysbench Suite
hosts: all
become: true
tasks:
- name: Ensure sysbench is installed
ansible.builtin.package:
name: sysbench
state: present
tags: [always]
- name: CPU Benchmarks
tags: [cpu, sysbench_cpu]
block:
- name: Sysbench CPU (Single-thread)
ansible.builtin.command: sysbench cpu --cpu-max-prime=20000 --threads=1 run
register: sysbench_cpu_single
changed_when: false
- name: Sysbench CPU (Multi-thread)
ansible.builtin.command: sysbench cpu --cpu-max-prime=20000 --threads={{ ansible_processor_vcpus }} run
register: sysbench_cpu_multi
changed_when: false
- name: Memory Benchmarks
tags: [memory, sysbench_memory]
block:
- name: Sysbench Memory (Write throughput)
ansible.builtin.command: sysbench memory --memory-block-size=1M --memory-total-size=10G --memory-oper=write run
register: sysbench_mem_write
changed_when: false
+3 -1
View File
@@ -1,7 +1,9 @@
---
- name: Install and configure Docker
hosts: ci_servers
hosts:
- ci_servers
- uptime_kuma
become: true
roles:
+23
View File
@@ -0,0 +1,23 @@
---
- name: Deploy Uptime Kuma 2
hosts: uptime_kuma
become: true
tasks:
- name: Ensure named Docker volume exists
community.docker.docker_volume:
name: uptime-kuma
state: present
- name: Run Uptime Kuma container
community.docker.docker_container:
name: uptime-kuma
image: louislam/uptime-kuma:2
state: started
restart_policy: unless-stopped
published_ports:
- "3001:3001"
volumes:
- uptime-kuma:/app/data
pull: true