yahoo/panoptes

Update Generic Polling Plugin `eval` hack

Closed this issue · 0 comments

https://github.com/yahoo/panoptes/blob/master/yahoo_panoptes/plugins/polling/generic/snmp/plugin_polling_generic_snmp.py#L315

Variable dereferences of the _oid_map will throw errors due to not being in scope.

self._oid_maps["power_module_types"][x] will cause the following error

  • NameError("name 'x' is not defined",)