-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added .9 in front of oids in testSnmpInit_noTranslate so they do…
…n't match prewritten mibs
- Loading branch information
1 parent
48b0a3b
commit 6108859
Showing
4 changed files
with
85 additions
and
19 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
TEST DEFINITIONS ::= BEGIN | ||
|
||
IMPORTS | ||
MODULE-IDENTITY, OBJECT-TYPE, Integer32 FROM fooImports; | ||
|
||
TestMIB MODULE-IDENTITY | ||
LAST-UPDATED "2021090800Z" | ||
ORGANIZATION "influx" | ||
CONTACT-INFO | ||
"EMail: influx@email.com" | ||
DESCRIPTION | ||
"MIB module for testing snmp plugin | ||
for telegraf | ||
" | ||
::= { iso 1 } | ||
|
||
testingObjects OBJECT IDENTIFIER ::= { iso 0 } | ||
testObjects OBJECT IDENTIFIER ::= { testingObjects 0 } | ||
hostnameone OBJECT IDENTIFIER ::= {testObjects 1 } | ||
hostname OBJECT IDENTIFIER ::= { hostnameone 1 } | ||
testTable OBJECT IDENTIFIER ::= { testObjects 0 } | ||
testMIBObjects OBJECT IDENTIFIER ::= { testTable 1 } | ||
|
||
|
||
myfield1 OBJECT-TYPE | ||
SYNTAX Integer32 | ||
ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"server mib for testing" | ||
::= { testMIBObjects 1 } | ||
|
||
myfield2 OBJECT-TYPE | ||
SYNTAX Integer32 | ||
ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"server mib for testing" | ||
::= { testMIBObjects 2 } | ||
|
||
myfield3 OBJECT-TYPE | ||
SYNTAX Integer32 | ||
ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"server mib for testing" | ||
::= { testMIBObjects 3 } | ||
|
||
myfield4 OBJECT-TYPE | ||
SYNTAX Integer32 | ||
ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"server mib for testing" | ||
::= { testMIBObjects 4 } | ||
|
||
END |