Created
July 4, 2019 08:12
-
-
Save rewida17/682bdeaec76d3a051888903056540f8e to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
while IFS= read -r ip | |
do | |
snmpwalk -v1 -c public "${ip}" 1.3.6.1.4.1.14988.1.1.3.8.0 | awk -v ip="$ip" '{print ip"=>"$4/10"V"}' | |
done < <(cat ~/ip) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment