Created
May 15, 2015 18:21
-
-
Save phone/8c4f1209e207e331eba3 to your computer and use it in GitHub Desktop.
munin registration server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
netcat -lk 4747 | { | |
while read addr; | |
do | |
echo -e "[$addr]\n address $addr\n" >> /etc/munin/munin.conf; | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment