Skip to content

Instantly share code, notes, and snippets.

@peelman
Created May 21, 2019 15:44
Show Gist options
  • Save peelman/0b691da02f5da9c6c15a9c26140cb0dd to your computer and use it in GitHub Desktop.
Save peelman/0b691da02f5da9c6c15a9c26140cb0dd to your computer and use it in GitHub Desktop.
libre-save-test-data-error
Index /tmp/snmpsim/_opt_librenms_tests_snmpsim__ns-bsd.dbm does not exist for data file /opt/librenms/tests/snmpsim//ns-bsd.snmprec
Building index /tmp/snmpsim/_opt_librenms_tests_snmpsim__ns-bsd.dbm for data file /opt/librenms/tests/snmpsim//ns-bsd.snmprec (open flags "n")...
ERROR at line 1, value 'NS-BSD SERIAL i386': 'nextFlag'
ERROR at line 2, value '1.3.6.1.4.1.8072.3.2.8': 'nextFlag'
Traceback (most recent call last):
File "/usr/bin/snmpsimd", line 1098, in <module>
snmpContext)
File "/usr/bin/snmpsimd", line 797, in configureManagedObjects
dataFile = DataFile(fullPath, textParser).indexText(forceIndexBuild)
File "/usr/bin/snmpsimd", line 211, in indexText
self.__recordIndex.create(forceIndexBuild, validateData)
File "/usr/lib/python2.7/dist-packages/snmpsim/record/search/database.py", line 119, in create
self.__textFile, lineNo, exc
snmpsim.error.SnmpsimError: Data error at /opt/librenms/tests/snmpsim//ns-bsd.snmprec:3: broken record <
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment