Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Expose hardware info through HTTP

Project Description

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
Release History

Release History

This version
History Node

0.8.5

History Node

0.8.4

History Node

0.8.3

History Node

0.8.2

History Node

0.8.1

History Node

0.8.post0

History Node

0.7.post2

History Node

0.7-1

History Node

0.6-6

History Node

0.6-5

History Node

0.6-4

History Node

0.6-3

History Node

0.6-1

History Node

0.6

History Node

0.5

History Node

0.4

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
peekaboo-0.8.5.tar.gz (8.5 kB) Copy SHA256 Checksum SHA256 Source Aug 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting