https://github.com/Its-Alex/ipmi-discover
🕵️ Scan with a DHCP server across network for IPMI and then return data about it
https://github.com/Its-Alex/ipmi-discover
dhcp docker ipmi ipmiping ipmitool kea python
Last synced: 6 months ago
JSON representation
🕵️ Scan with a DHCP server across network for IPMI and then return data about it
- Host: GitHub
- URL: https://github.com/Its-Alex/ipmi-discover
- Owner: Its-Alex
- Created: 2018-04-13T21:44:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-11T09:50:14.000Z (over 6 years ago)
- Last Synced: 2024-11-10T17:54:27.749Z (7 months ago)
- Topics: dhcp, docker, ipmi, ipmiping, ipmitool, kea, python
- Language: Python
- Homepage:
- Size: 350 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/Its-Alex/ipmi-discover)
[](https://hub.docker.com/r/itsalex/ipmi-discover/)
[](https://hub.docker.com/r/itsalex/ipmi-discover/)# IPMI-Discover
This project aim to discover mac address of all IPMI asking IP address
## Requirements
* [docker](https://www.docker.com/)
## Development
Launch image
```
$ docker-compose up -d
```Enter inside container
```
$ docker-compose exec ipmi-discover bash
```This folder is synced with `/code/` in container so all python deps are inside
container## How to
By default this tool wait 60 seconds for kea to alloc ip then parse it's log
To use this image you must provide a kea configuration in the container at
`/kea-config.json` and log to a **file**You can change options from command execute `/launch-services.sh`:
* **-t** or **--time** to change time to wait for kea alloc by default `60`
* **--kea-log-output** to change where is store log by default `/var/log/kea-debug.log`
* **--kea-start** command to launch kea by default `/usr/sbin/kea-dhcp4 -c /kea-config.json`docker-compose example:
```
version: '3'
services:
ipmi-discover:
image: itsalex/ipmi-discover
restart: unless-stopped
network_mode: host
command: /launch-services.sh -t 60
volumes:
- ./kea-config.json:/kea-config.json
```output:
```json5
[{
"vendor": {
"description": "PcsCompu",
"name": "PcsCompu"
},
"ip": "192.168.0.12",
"mac": "08:00:27:8a:17:9b",
"ipmi": false
}, {
"vendor": {
"description": "PcsCompu",
"name": "PcsCompu"
},
"ip": "192.168.0.12",
"mac": "08:00:27:8a:17:9b",
"ipmi": false
}]
```## License
[AGPL](https://en.wikipedia.org/wiki/Affero_General_Public_License)