Created
January 5, 2018 04:04
-
-
Save naa0yama/f0d8067572e8b27437a232b3cc39df29 to your computer and use it in GitHub Desktop.
snmp_expoter で 16進文字化けしたのでMIBを修正した。 ref: https://qiita.com/FoxBoxsnet/items/2531bba86db5f0e748da
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
diff --git a/BEGEMOT-PF-MIB.txt b/BEGEMOT-PF-MIB.txt | |
index c88fac7..88f8b2c 100644 | |
--- a/BEGEMOT-PF-MIB.txt | |
+++ b/BEGEMOT-PF-MIB.txt | |
@@ -20,7 +20,9 @@ IMPORTS | |
InetAddress, InetAddressType, InetAddressPrefixLength | |
FROM INET-ADDRESS-MIB | |
begemot | |
- FROM BEGEMOT-MIB; | |
+ FROM BEGEMOT-MIB | |
+ DisplayString | |
+ FROM SNMPv2-TC; | |
begemotPf MODULE-IDENTITY | |
LAST-UPDATED "201003180000Z" | |
@@ -103,7 +105,7 @@ pfStatusDebug OBJECT-TYPE | |
::= { pfStatus 3 } | |
pfStatusHostId OBJECT-TYPE | |
- SYNTAX OCTET STRING | |
+ SYNTAX DisplayString (SIZE (0..32)) | |
MAX-ACCESS read-only | |
STATUS current | |
DESCRIPTION | |
@@ -444,7 +446,7 @@ pfTimeoutsSrcNode OBJECT-TYPE | |
-- | |
pfLogInterfaceName OBJECT-TYPE | |
- SYNTAX OCTET STRING | |
+ SYNTAX DisplayString (SIZE (0..32)) | |
MAX-ACCESS read-only | |
STATUS current | |
DESCRIPTION | |
@@ -582,7 +584,7 @@ pfInterfacesIfEntry OBJECT-TYPE | |
PfInterfacesIfEntry ::= SEQUENCE { | |
pfInterfacesIfIndex Integer32, | |
- pfInterfacesIfDescr OCTET STRING, | |
+ pfInterfacesIfDescr DisplayString, | |
pfInterfacesIfType INTEGER, | |
pfInterfacesIfTZero TimeTicks, | |
pfInterfacesIfRefsState Null, | |
@@ -614,7 +616,7 @@ pfInterfacesIfIndex OBJECT-TYPE | |
::= { pfInterfacesIfEntry 1 } | |
pfInterfacesIfDescr OBJECT-TYPE | |
- SYNTAX OCTET STRING | |
+ SYNTAX DisplayString (SIZE (0..32)) | |
MAX-ACCESS read-only | |
STATUS current | |
DESCRIPTION | |
@@ -821,7 +823,7 @@ pfTablesTblEntry OBJECT-TYPE | |
PfTablesTblEntry ::= SEQUENCE { | |
pfTablesTblIndex Integer32, | |
- pfTablesTblDescr OCTET STRING, | |
+ pfTablesTblDescr DisplayString, | |
pfTablesTblCount Integer32, | |
pfTablesTblTZero TimeTicks, | |
pfTablesTblRefsAnchor Integer32, | |
@@ -851,7 +853,7 @@ pfTablesTblIndex OBJECT-TYPE | |
::= { pfTablesTblEntry 1 } | |
pfTablesTblDescr OBJECT-TYPE | |
- SYNTAX OCTET STRING | |
+ SYNTAX DisplayString (SIZE (0..32)) | |
MAX-ACCESS read-only | |
STATUS current | |
DESCRIPTION | |
@@ -1188,8 +1190,8 @@ pfAltqQueueEntry OBJECT-TYPE | |
PfAltqQueueEntry ::= SEQUENCE { | |
pfAltqQueueIndex Integer32, | |
- pfAltqQueueDescr OCTET STRING, | |
- pfAltqQueueParent OCTET STRING, | |
+ pfAltqQueueDescr DisplayString, | |
+ pfAltqQueueParent DisplayString, | |
pfAltqQueueScheduler INTEGER, | |
pfAltqQueueBandwidth Unsigned32, | |
pfAltqQueuePriority Integer32, | |
@@ -1205,7 +1207,7 @@ pfAltqQueueIndex OBJECT-TYPE | |
::= { pfAltqQueueEntry 1 } | |
pfAltqQueueDescr OBJECT-TYPE | |
- SYNTAX OCTET STRING | |
+ SYNTAX DisplayString (SIZE (0..32)) | |
MAX-ACCESS read-only | |
STATUS current | |
DESCRIPTION | |
@@ -1213,7 +1215,7 @@ pfAltqQueueDescr OBJECT-TYPE | |
::= { pfAltqQueueEntry 2 } | |
pfAltqQueueParent OBJECT-TYPE | |
- SYNTAX OCTET STRING | |
+ SYNTAX DisplayString (SIZE (0..32)) | |
MAX-ACCESS read-only | |
STATUS current | |
DESCRIPTION | |
@@ -1280,7 +1282,7 @@ pfLabelsLblEntry OBJECT-TYPE | |
PfLabelsLblEntry ::= SEQUENCE { | |
pfLabelsLblIndex Integer32, | |
- pfLabelsLblName OCTET STRING, | |
+ pfLabelsLblName DisplayString, | |
pfLabelsLblEvals Counter64, | |
pfLabelsLblBytesIn Counter64, | |
pfLabelsLblBytesOut Counter64, | |
@@ -1297,7 +1299,7 @@ pfLabelsLblIndex OBJECT-TYPE | |
::= { pfLabelsLblEntry 1 } | |
pfLabelsLblName OBJECT-TYPE | |
- SYNTAX OCTET STRING | |
+ SYNTAX DisplayString (SIZE (0..32)) | |
MAX-ACCESS read-only | |
STATUS current | |
DESCRIPTION | |
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
DisplayString | |
FROM SNMPv2-TC; |
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
@@ -582,7 +584,7 @@ pfInterfacesIfEntry OBJECT-TYPE | |
PfInterfacesIfEntry ::= SEQUENCE { | |
pfInterfacesIfIndex Integer32, | |
- pfInterfacesIfDescr OCTET STRING, | |
+ pfInterfacesIfDescr DisplayString, | |
pfInterfacesIfType INTEGER, | |
pfInterfacesIfTZero TimeTicks, | |
pfInterfacesIfRefsState Null, |
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
@@ -614,7 +616,7 @@ pfInterfacesIfIndex OBJECT-TYPE | |
::= { pfInterfacesIfEntry 1 } | |
pfInterfacesIfDescr OBJECT-TYPE | |
- SYNTAX OCTET STRING | |
+ SYNTAX DisplayString (SIZE (0..32)) | |
MAX-ACCESS read-only | |
STATUS current | |
DESCRIPTION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment