A Bash script for gathering diagnostic data from Linux nodes running OpenVox or Puppet infrastructure. The script collects system metadata, OS details, and configuration from the Puppet Agent, Puppet Server, and PuppetDB services, then packages everything into a compressed tar archive.
The script is designed to run safely on unhealthy systems — commands fail gracefully, and the only side-effect is the creation of an output file.
./overlook-diagnostics.sh [OPTIONS]
| Option | Description |
|---|---|
-d |
Enable debug mode (set -x). |
-n |
No-op mode. Show what would be done without making changes. |
-o DIR |
Set output directory (default: /tmp). |
-h |
Print help message and exit. |
The script requires root privileges and supports Debian/Ubuntu
and RHEL-compatible distributions.