Create seperate DIS for Windows MIBs:
mkdir -p /usr/share/snmp/mibs/windows
Install configuration:
echo "bWlicyA6Cm1pYmRpcnMgL3Vzci9zaGFyZS9zbm1wL21pYnMvd2luZG93cwptaWJzICtBTEwK"|base64 --decode > /etc/snmp/snmp.conf
Look what is inside:
cat /etc/snmp/snmp.conf
Navigate to MIBs directory:
cd /usr/share/snmp/mibs/windows
# .1.3.6.1.2.1.6.19
# inetIcmpTable OBJECT-TYPE
curl -s "https://catonrug.blogspot.com/feeds/posts/default/5607198543224201597?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > TCP-MIB
# .1.3.6.1.2.1.7.7
# udpEndpointTable OBJECT-TYPE
curl -s "https://catonrug.blogspot.com/feeds/posts/default/2490994347978706122?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > UDP-MIB
# .1.3.6.1.2.1.55
# ipv6RouteTable OBJECT-TYPE
curl -s "https://catonrug.blogspot.com/feeds/posts/default/2294386849297067219?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > IPV6-MIB
curl -s "https://catonrug.blogspot.com/feeds/posts/default/3835800946922446427?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > LanMgr-Mib-II-MIB
curl -s "https://catonrug.blogspot.com/feeds/posts/default/5277416913785380744?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > SNMPv2-SMI
curl -s "https://catonrug.blogspot.com/feeds/posts/default/6256431306427085217?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > SNMPv2-TC
curl -s "https://catonrug.blogspot.com/feeds/posts/default/2474015602827470154?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > INET-ADDRESS-MIB
curl -s "https://catonrug.blogspot.com/feeds/posts/default/3410231195763668916?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > IPV6-TC
# to satisfy .1.3.6.1.2.1.2
curl -s "https://catonrug.blogspot.com/feeds/posts/default/91346405589059276?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > IF-MIB
curl -s "https://catonrug.blogspot.com/feeds/posts/default/8525717342803436063?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > SNMPv2-MIB
curl -s "https://catonrug.blogspot.com/feeds/posts/default/676592785645707688?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > IANAifType-MIB
# to satisfy .1.3.6.1.2.1.4
curl -s "https://catonrug.blogspot.com/feeds/posts/default/7442134025866260159?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > IP-MIB
# to satisfy .1.3.6.1.2.1.4.21
curl -s "https://catonrug.blogspot.com/feeds/posts/default/6373935412447458318?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > RFC1213-MIB
# to satisfy .1.3.6.1.2.1.4.24
curl -s "https://catonrug.blogspot.com/feeds/posts/default/340755601049378588?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > IP-FORWARD-MIB
curl -s "https://catonrug.blogspot.com/feeds/posts/default/4724469402540268296?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > IANA-RTPROTO-MIB
# to satisfy .1.3.6.1.2.1.25
curl -s "https://catonrug.blogspot.com/feeds/posts/default/2108177056477787942?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > HOST-RESOURCES-MIB
Other popular MIBs:
curl -s "https://catonrug.blogspot.com/feeds/posts/default/6922734783513926068?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > BRIDGE-MIB
curl -s "https://catonrug.blogspot.com/feeds/posts/default/4778758141428031910?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > ENTITY-MIB
curl -s "https://catonrug.blogspot.com/feeds/posts/default/5655215877528198528?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > SNMP-FRAMEWORK-MIB
curl -s "https://catonrug.blogspot.com/feeds/posts/default/4006681332172387686?alt=json" | jq -r '.entry|.content|."$t"' | base64 --decode > DOCS-IETF-BPI2-MIB
No comments:
Post a Comment