Prometheus exporter for counting the hosts connected to a network using nmap
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.
- Clone the repo
git clone https://github.com/OisinA/nmapprom.git
- Build the go project
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