Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid character - in ini config #15

Open
Seb-Solon opened this issue May 1, 2015 · 0 comments
Open

Invalid character - in ini config #15

Seb-Solon opened this issue May 1, 2015 · 0 comments

Comments

@Seb-Solon
Copy link
Contributor

Arbiter should raise an error for this. Instead we have strange excpetion :

Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/var/lib/shinken/modules/mod-booster-snmp/libs/snmpworker.py", line 138, in run
    self.append_task_to_dispatcher(snmp_task)
  File "/var/lib/shinken/modules/mod-booster-snmp/libs/snmpworker.py", line 60, in append_task_to_dispatcher
    getattr(self.cmdgen, snmp_command_name)(**snmp_task['data'])
  File "/usr/lib/python2.7/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 277, in getCmd
    self.makeReadVarBinds(varNames),
  File "/usr/lib/python2.7/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 201, in makeReadVarBinds
    [ (x, self._null) for x in varNames ], oidOnly=True
  File "/usr/lib/python2.7/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 220, in makeVarBinds
    varName = MibVariable(varName).resolveWithMib(self.mibViewController, oidOnly=True)
  File "/usr/lib/python2.7/site-packages/pysnmp/entity/rfc3413/oneliner/mibvar.py", line 96, in resolveWithMib
    label
  File "/usr/lib/python2.7/site-packages/pysnmp/smi/view.py", line 199, in getNodeNameByOid
    (modName, nodeName, self)
NoSuchObjectError: NoSuchObjectError({'str': "Can't resolve node name ::('1', '3', '6', '1', '4', '1', '9', '2', '1', '58', '0-STROID') at <pysnmp.smi.view.MibViewController instance at 0x1a2df80>"})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant