Change 32507

russell_jackson (Russell C. Jackson (Rusty))
Russell C. Jackson (Rusty) committed this change into //guest/russell_jackson/ansible-sdp/roles/perforce-sdp-monitoring
Request Review
Download .zip
Fix monitoring role bugs and add health check, network latency, and disk space monitoring.

- Fix circular symlink (src and dest were identical)
- Fix force_apt_get on generic package module (split by OS family)
- Add missing become:yes on privileged tasks
- Add perforce_location defaults to prevent undefined variable errors
- Make case sensitivity check query live server via p4 info
- Remove redundant tasks already handled by install_p4prom.sh
- Remove unused handlers
- Add p4 health check probe (p4 info liveness and response time)
- Add network latency monitoring (ping commit server)
- Add disk space monitoring with configurable warn/crit thresholds
  • Files 8
  • Comments 0
4 edited 3 added 1 deleted
defaults/main.yml#2
Loading...
files/monitor_network.sh#2
Loading...
handlers/main.yml#3
Loading...
tasks/main.yml#3
Loading...
tasks/set-node-exporter-log-level.yml#2
Loading...
templates/p4_disk_space.sh.j2#1
Loading...
templates/p4_healthcheck.sh.j2#1
Loading...
templates/p4_network_latency.sh.j2#1
Loading...
Tip: Use n and p to cycle through the changes.