Pekaboo
Expose hardware info through HTTP.
Install
Here are the instructions for a manual install on CentOS 7.
sudo groupadd dmidecode
sudo useradd -M -G dmidecode peekaboo
sudo tee -a /etc/sudoers.d/dmidecode << EOF >/dev/null
%dmidecode ALL=(ALL) NOPASSWD:/usr/sbin/dmidecode
EOF
sudo yum install -y libselinux-utils redhat-lsb python-devel python-pip gcc
sudo pip install peekaboo
sudo cp /usr/share/peekaboo/contrib/peekaboo.service /usr/lib/systemd/system/peekaboo.service
sudo systemctl enable peekaboo
sudo systemctl start peekaboo
You can also install it using:
curl https://raw.githubusercontent.com/mickep76/peekaboo/master/setup_centos7.sh | sudo bash
Run using Docker
You can quickly test it by running it inside a Docker container:
Build docker image
docker build -t peekaboo:latest .
Run docker image
docker run -d -p 5050:5050 --name=peekaboo peekaboo:latest
Stop container
docker stop peekaboo
Query
Query using YAML:
curl -i http://<host>:5050/info
curl -i http://<host>:5050/info/tree
curl -i http://<host>:5050/status
curl -i http://<host>:5050/status/tree
Query using JSON:
curl -i -H "Accept: application/json" http://<host>:5050/info
curl -i -H "Accept: application/json" http://<host>:5050/info/tree
curl -i -H "Accept: application/json" http://<host>:5050/status
curl -i -H "Accept: application/json" http://<host>:5050/status/tree
Metadata
Release files for peekaboo 0.8.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| peekaboo-0.8.5.tar.gz | 8.5 kB | Without provenance | Details for peekaboo-0.8.5.tar.gz |
Release files / peekaboo-0.8.5.tar.gz
| Download URL | peekaboo-0.8.5.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e14e978e8f39a19fb37cbc98d0f63d92f0fa0bb94e05ab37d0f992a96c0faf2
|
|
BLAKE2b-256 checksum How to use checksums |
87c869c3e70ef83858c842bb92ef69029a3f52a1b9376cba3293affcfc8101c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for peekaboo 0.8.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.