Commit Graph

9 Commits

Author SHA1 Message Date
justin 2836e1ae10 Refactor to prometheus_client, JSON logging, and codebase cleanup
- Replace file-based metrics and HTTP server with prometheus_client
  (Gauge + start_http_server), eliminating file I/O race conditions
- Fix ThreadProbe and thread restart lambda bugs
- Switch logging from RotatingFileHandler to JSON stdout for fluentd/Loki
- Add PYTHONUNBUFFERED=1 to Dockerfile for immediate container log output
- Upgrade base image from python:3.12.3-slim to python:3.13-slim
- Upgrade pyvmomi to 9.0.0.0; pin pydantic>=2.9.0 and typing_extensions>=4.12.2
  to use pre-built Python 3.13 wheels (removes Rust toolchain from build)
- Remove unused packages: boto3, botocore, s3transfer, jmespath, redis,
  docopt, pyflakes, posthog
- Remove unused imports (Posthog, CaseInsensitiveDict) and dead variables
  (callhomestats, local_site_info, lastStats)
- Fix service_profile() NameError (siteidentifier -> serviceProfileIdentifier)
- Remove bare print() in zvma.py __authhandler__, replace with self.log.info()
- Remove all commented-out PostHog blocks from zvma10/zvma.py
- Delete legacy zvma9_7/ module and app/logs/ directory
- Remove deprecated 'version: 3.3' from docker-compose.yml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 19:05:45 -05:00
justin a0ac6883f4 updates for zvma10 2024-05-30 20:57:39 -04:00
justin 21f32e5a31 updates for docker environments 2023-12-21 12:57:30 -05:00
snyk-bot 3892678659 fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5894114
- https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132
- https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-5825659
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-5825659
2023-10-13 10:01:43 +00:00
snyk-bot c1532af54d fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-NCURSES-2767191
- https://snyk.io/vuln/SNYK-DEBIAN11-NCURSES-2767191
- https://snyk.io/vuln/SNYK-DEBIAN11-NCURSES-2767191
- https://snyk.io/vuln/SNYK-DEBIAN11-NCURSES-2767191
- https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-3368735
2023-09-20 21:25:42 +00:00
snyk-bot d4c9037bb0 fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-DPKG-2847942
- https://snyk.io/vuln/SNYK-DEBIAN11-GZIP-2444256
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBTASN16-3061097
- https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2807596
- https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2933518
2023-02-11 08:57:28 +00:00
justin aa4f5f5069 updates to ransomware section 2022-11-21 23:28:34 +00:00
snyk-bot 7d2b82076b fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-AOM-1290331
- https://snyk.io/vuln/SNYK-DEBIAN11-AOM-1298721
- https://snyk.io/vuln/SNYK-DEBIAN11-AOM-1300249
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBDE265-2445047
- https://snyk.io/vuln/SNYK-DEBIAN11-MARIADB105-2766434
2022-05-06 21:01:15 +00:00
hmdhszd 23281f156d added Dockerfile 2022-01-27 11:05:57 +03:30