Prometheus exporter for counting the hosts connected to a network using nmap
·
Report Bug
·
Request Feature
nmapprom is a Prometheus exporter for counting the hosts connected to a network using nmap, written in Go.
To get a local copy up and running follow these simple steps.
- nmap
- Go
- Clone the repo
git clone https://github.com/OisinA/nmapprom.git
- Build the go project
go build
nmapprom requires passing in the ip range of your local network, checking to see what addresses are in use.
nmapprom -i 192.168.0.0/24
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.