snmp 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +3 -0
- data/Rakefile +0 -0
- data/data/ruby/snmp/mibs/ACCOUNTING-CONTROL-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ADSL-LINE-EXT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ADSL-LINE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ADSL-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ADSL2-LINE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ADSL2-LINE-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/AGENTX-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/AGGREGATE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ALARM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/APM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/APPC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/APPLETALK-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/APPLICATION-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/APPN-DLUR-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/APPN-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/APPN-TRAP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/APS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ARC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ATM-ACCOUNTING-INFORMATION-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ATM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ATM-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ATM2-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/BGP4-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/BLDG-HVAC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/BRIDGE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/CHARACTER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/CIRCUIT-IF-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/CLNS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/COFFEE-POT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/COPS-CLIENT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DECNET-PHIV-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DIAL-CONTROL-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DIFFSERV-CONFIG-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DIFFSERV-DSCP-TC.yaml +0 -0
- data/data/ruby/snmp/mibs/DIFFSERV-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DIRECTORY-SERVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DISMAN-EVENT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DISMAN-EXPRESSION-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DISMAN-NSLOOKUP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DISMAN-PING-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DISMAN-SCHEDULE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DISMAN-SCRIPT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DISMAN-TRACEROUTE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DLSW-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DNS-RESOLVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DNS-SERVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOCS-BPI-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOCS-CABLE-DEVICE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOCS-IETF-BPI2-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOCS-IETF-QOS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOCS-IETF-SUBMGT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOCS-IF-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOT12-IF-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOT3-EPON-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DOT3-OAM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DS0-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DS0BUNDLE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DS1-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DS3-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DSA-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/DSMON-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/EBN-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/EFM-CU-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ENTITY-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ENTITY-SENSOR-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ENTITY-STATE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ENTITY-STATE-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ETHER-CHIPSET-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ETHER-WIS.yaml +0 -0
- data/data/ruby/snmp/mibs/EtherLike-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FC-MGMT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FCIP-MGMT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FDDI-SMT73-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FIBRE-CHANNEL-FE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FLOW-METER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FR-ATM-PVC-SERVICE-IWF-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FR-MFR-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FRAME-RELAY-DTE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FRNETSERV-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/FRSLD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/Finisher-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/GMPLS-LABEL-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/GMPLS-LSR-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/GMPLS-TC-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/GMPLS-TE-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/GSMP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/HC-ALARM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/HC-PerfHist-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/HC-RMON-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/HCNUM-TC.yaml +0 -0
- data/data/ruby/snmp/mibs/HDSL2-SHDSL-LINE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/HOST-RESOURCES-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/HOST-RESOURCES-TYPES.yaml +0 -0
- data/data/ruby/snmp/mibs/HPR-IP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/HPR-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IANA-ITU-ALARM-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IF-CAP-STACK-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IF-INVERTED-STACK-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IF-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IFCP-MGMT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IGMP-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/INET-ADDRESS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/INTEGRATED-SERVICES-GUARANTEED-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/INTEGRATED-SERVICES-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/INTERFACETOPN-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IP-FORWARD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPATM-IPMC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPMCAST-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPMROUTE-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPOA-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPS-AUTH-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPSEC-SPD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPV6-FLOW-LABEL-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPV6-ICMP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPV6-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPV6-MLD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPV6-TCP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/IPV6-UDP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ISCSI-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ISDN-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ISIS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ISNS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ITU-ALARM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ITU-ALARM-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/Job-Monitoring-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/L2TP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/LANGTAG-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/LMP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MALLOC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MAU-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MIDCOM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MIOX25-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MIP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MOBILEIPV6-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-FTN-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-L3VPN-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-LC-ATM-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-LC-FR-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-LDP-ATM-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-LDP-FRAME-RELAY-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-LDP-GENERIC-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-LDP-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-LSR-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-TC-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MPLS-TE-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MSDP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/MTA-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/Modem-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/NAT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/NETWORK-SERVICES-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/NHRP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/NOTIFICATION-LOG-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/OPT-IF-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/OSPF-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/OSPF-TRAP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/P-BRIDGE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PARALLEL-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PIM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PIM-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PINT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PKTC-IETF-MTA-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PKTC-IETF-SIG-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/POLICY-BASED-MANAGEMENT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/POWER-ETHERNET-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PPP-BRIDGE-NCP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PPP-IP-NCP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PPP-LCP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PPP-SEC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PTOPO-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/PerfHist-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/Printer-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/Q-BRIDGE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RADIUS-ACC-CLIENT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RADIUS-ACC-SERVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RADIUS-AUTH-CLIENT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RADIUS-AUTH-SERVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RADIUS-DYNAUTH-CLIENT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RADIUS-DYNAUTH-SERVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RAQMON-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RDBMS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1065-SMI.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1155-SMI.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1158-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1213-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1269-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1271-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1285-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1316-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1381-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1382-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RFC1414-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RIPv2-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RMON-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RMON2-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ROHC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ROHC-RTP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/ROHC-UNCOMPRESSED-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RS-232-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RSTP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RSVP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/RTP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SCSI-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SCTP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SFLOW-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SIP-COMMON-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SIP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SIP-SERVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SIP-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SIP-UA-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SLAPM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SMON-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNA-NAU-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNA-SDLC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-COMMUNITY-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-FRAMEWORK-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-MPD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-NOTIFICATION-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-PROXY-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-REPEATER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-TARGET-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-USER-BASED-SM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-USM-AES-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-USM-DH-OBJECTS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMPv2-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMPv2-SMI.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMPv2-TM.yaml +0 -0
- data/data/ruby/snmp/mibs/SNMPv2-USEC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SONET-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SOURCE-ROUTING-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SSPM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/SYSAPPL-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-FC-FABRIC-ADDR-MGR-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-FC-FABRIC-CONFIG-SERVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-FC-FABRIC-LOCK-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-FC-FSPF-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-FC-NAME-SERVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-FC-ROUTE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-FC-RSCN-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-FC-VIRTUAL-FABRIC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-FC-ZONE-SERVER-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/T11-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TCP-ESTATS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TCP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TCPIPX-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TE-LINK-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TIME-AGGREGATE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TN3270E-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TN3270E-RT-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TOKEN-RING-RMON-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TOKENRING-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TOKENRING-STATION-SR-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TRANSPORT-ADDRESS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TRIP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TRIP-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/TUNNEL-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/UCD-SNMP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/UDP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/UDPLITE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/UPS-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/URI-TC-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/VDSL-LINE-EXT-MCM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/VDSL-LINE-EXT-SCM-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/VDSL-LINE-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/VPN-TC-STD-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/VRRP-MIB.yaml +0 -0
- data/data/ruby/snmp/mibs/WWW-MIB.yaml +0 -0
- data/examples/datetime.rb +0 -0
- data/examples/dump.rb +0 -0
- data/examples/get.rb +0 -0
- data/examples/iftable.rb +0 -0
- data/examples/link_down.rb +0 -0
- data/examples/log_traps.rb +0 -0
- data/examples/set.rb +0 -0
- data/examples/walk.rb +0 -0
- data/lib/snmp.rb +1 -0
- data/lib/snmp/agent.rb +1 -0
- data/lib/snmp/ber.rb +4 -3
- data/lib/snmp/manager.rb +1 -0
- data/lib/snmp/mib.rb +1 -0
- data/lib/snmp/options.rb +1 -0
- data/lib/snmp/pdu.rb +4 -3
- data/lib/snmp/varbind.rb +3 -2
- data/lib/snmp/version.rb +2 -1
- data/test/if_table1.yaml +0 -0
- data/test/if_table6.yaml +0 -0
- data/test/test_ber.rb +5 -4
- data/test/test_manager.rb +2 -0
- data/test/test_mib.rb +2 -0
- data/test/test_pdu.rb +15 -1
- data/test/test_retry.rb +2 -0
- data/test/test_smi.rb +2 -0
- data/test/test_varbind.rb +1 -0
- data/test/test_walk.rb +2 -0
- metadata +60 -5
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/examples/datetime.rb
CHANGED
File without changes
|
data/examples/dump.rb
CHANGED
File without changes
|
data/examples/get.rb
CHANGED
File without changes
|
data/examples/iftable.rb
CHANGED
File without changes
|
data/examples/link_down.rb
CHANGED
File without changes
|
data/examples/log_traps.rb
CHANGED
File without changes
|
data/examples/set.rb
CHANGED
File without changes
|
data/examples/walk.rb
CHANGED
File without changes
|
data/lib/snmp.rb
CHANGED
data/lib/snmp/agent.rb
CHANGED
data/lib/snmp/ber.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# encoding: ascii-8bit
|
2
|
+
# frozen_string_literal: true
|
2
3
|
#
|
3
4
|
# Copyright (c) 2004-2014 David R. Halliday
|
4
5
|
#
|
@@ -265,9 +266,9 @@ module SNMP
|
|
265
266
|
else
|
266
267
|
data = integer_to_octets(value)
|
267
268
|
if value > 0 && data[0].ord > 0x7f
|
268
|
-
data = "\000" << data
|
269
|
+
data = "\000".dup << data
|
269
270
|
elsif value < 0 && data[0].ord < 0x80
|
270
|
-
data = "\377" << data
|
271
|
+
data = "\377".dup << data
|
271
272
|
end
|
272
273
|
end
|
273
274
|
encode_tlv(tag, data)
|
@@ -333,7 +334,7 @@ module SNMP
|
|
333
334
|
def encode_object_id(value)
|
334
335
|
raise InvalidObjectId, value.to_s if value.length < 1
|
335
336
|
raise InvalidObjectId, value.to_s if value[0] > 2
|
336
|
-
data = ""
|
337
|
+
data = "".dup
|
337
338
|
if (value.length > 1)
|
338
339
|
raise InvalidObjectId if value[0] < 2 && value[1] > 40
|
339
340
|
data << (40 * value[0] + value[1]).chr
|
data/lib/snmp/manager.rb
CHANGED
data/lib/snmp/mib.rb
CHANGED
data/lib/snmp/options.rb
CHANGED
data/lib/snmp/pdu.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
#
|
2
3
|
# Copyright (c) 2004-2014 David R. Halliday
|
3
4
|
#
|
@@ -179,8 +180,8 @@ module SNMP
|
|
179
180
|
def error_status=(status)
|
180
181
|
@error_status = ERROR_STATUS_CODE[status]
|
181
182
|
unless @error_status
|
182
|
-
if status.respond_to?(:to_int)
|
183
|
-
@error_status = status
|
183
|
+
if status.respond_to?(:to_int)
|
184
|
+
@error_status = status.to_int
|
184
185
|
else
|
185
186
|
raise InvalidErrorStatus, status.to_s
|
186
187
|
end
|
@@ -188,7 +189,7 @@ module SNMP
|
|
188
189
|
end
|
189
190
|
|
190
191
|
def error_status
|
191
|
-
ERROR_STATUS_NAME[@error_status]
|
192
|
+
ERROR_STATUS_NAME[@error_status] || @error_status
|
192
193
|
end
|
193
194
|
|
194
195
|
def encode_pdu(pdu_tag)
|
data/lib/snmp/varbind.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
#
|
2
3
|
# Copyright (c) 2004-2014 David R. Halliday
|
3
4
|
#
|
@@ -63,7 +64,7 @@ module SNMP
|
|
63
64
|
end
|
64
65
|
|
65
66
|
def encode
|
66
|
-
varbind_data = ""
|
67
|
+
varbind_data = "".dup
|
67
68
|
self.each do |varbind|
|
68
69
|
varbind_data << varbind.encode
|
69
70
|
end
|
@@ -343,7 +344,7 @@ module SNMP
|
|
343
344
|
if parts.length != 4
|
344
345
|
raise InvalidIpAddress, "Expected four octets separated by dots, not #{ip_string.inspect}"
|
345
346
|
end
|
346
|
-
value_data = ""
|
347
|
+
value_data = "".dup
|
347
348
|
parts.each do |s|
|
348
349
|
octet = s.to_i
|
349
350
|
raise InvalidIpAddress, "Octets cannot be greater than 255: #{ip_string.inspect}" if octet > 255
|
data/lib/snmp/version.rb
CHANGED
data/test/if_table1.yaml
CHANGED
File without changes
|
data/test/if_table6.yaml
CHANGED
File without changes
|
data/test/test_ber.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# encoding: ascii-8bit
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require 'minitest/autorun'
|
4
5
|
require 'snmp/varbind'
|
@@ -39,7 +40,7 @@ class ASN1_Test < Minitest::Test
|
|
39
40
|
|
40
41
|
# Decode TLV data with long-format length field
|
41
42
|
def test_decode_tlv_long
|
42
|
-
long_data = ""; 128.times { |i| long_data << i.chr }
|
43
|
+
long_data = "".dup; 128.times { |i| long_data << i.chr }
|
43
44
|
tag, value, data = decode_tlv("\001\201\200" + long_data)
|
44
45
|
assert_equal(1, tag)
|
45
46
|
assert_equal(long_data, value)
|
@@ -48,7 +49,7 @@ class ASN1_Test < Minitest::Test
|
|
48
49
|
|
49
50
|
# Long format with extra bytes - use four bytes for length
|
50
51
|
def test_decode_tlv_long_extra
|
51
|
-
long_data = ""; 129.times { |i| long_data << i.chr }
|
52
|
+
long_data = "".dup; 129.times { |i| long_data << i.chr }
|
52
53
|
tag, value, data = decode_tlv("\001\204\000\000\000\201" + long_data + "\123\123\123")
|
53
54
|
assert_equal(1, tag)
|
54
55
|
assert_equal(long_data, value)
|
@@ -227,12 +228,12 @@ class ASN1_Test < Minitest::Test
|
|
227
228
|
end
|
228
229
|
|
229
230
|
def test_encode_object_id
|
230
|
-
assert_equal("\006\001" << 80.chr, encode_object_id([2]))
|
231
|
+
assert_equal("\006\001".dup << 80.chr, encode_object_id([2]))
|
231
232
|
assert_equal("\006\001\000", encode_object_id([0,0]))
|
232
233
|
assert_equal("\006\001+", encode_object_id([1,3]))
|
233
234
|
assert_equal("\006\002+\006", encode_object_id([1,3,6]))
|
234
235
|
assert_equal("\006\003+\202\001", encode_object_id([1,3,257]))
|
235
|
-
assert_equal("\006\003" << 82.chr << "\202\001", encode_object_id([2,2,257]))
|
236
|
+
assert_equal("\006\003".dup << 82.chr << "\202\001", encode_object_id([2,2,257]))
|
236
237
|
assert_raises(BER::InvalidObjectId) { encode_object_id([3,2,257]) }
|
237
238
|
assert_raises(BER::InvalidObjectId) { encode_object_id([]) }
|
238
239
|
|
data/test/test_manager.rb
CHANGED
data/test/test_mib.rb
CHANGED
data/test/test_pdu.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# encoding: ascii-8bit
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require 'snmp/pdu'
|
4
5
|
require 'minitest/autorun'
|
@@ -117,7 +118,12 @@ class TestProtocol < Minitest::Test
|
|
117
118
|
request.error_status = 2
|
118
119
|
assert_equal(:noSuchName, request.error_status)
|
119
120
|
|
120
|
-
|
121
|
+
request.error_status = 42
|
122
|
+
assert_equal(42, request.error_status)
|
123
|
+
|
124
|
+
assert_raises(InvalidErrorStatus) {request.error_status = "myErrorString"}
|
125
|
+
|
126
|
+
assert_raises(InvalidErrorStatus) {request.error_status = :myErrorSymbol}
|
121
127
|
end
|
122
128
|
|
123
129
|
def test_snmpv2_trap
|
@@ -184,4 +190,12 @@ class TestProtocol < Minitest::Test
|
|
184
190
|
assert_equal(0, pdu.varbind_list.length)
|
185
191
|
end
|
186
192
|
|
193
|
+
def test_response_pdu_unknown_error
|
194
|
+
pdu = Response.new(2147483647, VarBindList.new, 6883501, 0)
|
195
|
+
assert_equal("\xA2\x10\x02\x04\x7F\xFF\xFF\xFF\x02\x03\x69\x08\xAD\x02\x01\x00\x30\x00", pdu.encode)
|
196
|
+
|
197
|
+
encoded = Message.new(:SNMPv2c, "public", pdu).encode
|
198
|
+
pdu = Message.decode(encoded).pdu
|
199
|
+
assert_equal(6883501, pdu.error_status)
|
200
|
+
end
|
187
201
|
end
|
data/test/test_retry.rb
CHANGED
data/test/test_smi.rb
CHANGED
data/test/test_varbind.rb
CHANGED
data/test/test_walk.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snmp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Halliday
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
11
|
+
date: 2019-06-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rdoc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
13
69
|
description: A Ruby implementation of SNMP (the Simple Network Management Protocol).
|
14
70
|
email: hallidave@gmail.com
|
15
71
|
executables: []
|
@@ -339,8 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
395
|
- !ruby/object:Gem::Version
|
340
396
|
version: '0'
|
341
397
|
requirements: []
|
342
|
-
|
343
|
-
rubygems_version: 2.7.6
|
398
|
+
rubygems_version: 3.0.3
|
344
399
|
signing_key:
|
345
400
|
specification_version: 4
|
346
401
|
summary: A Ruby implementation of SNMP (the Simple Network Management Protocol).
|