-
-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Labels
Waiting for reply⏳Waiting for the original poster to respond, or discussion in progress.Waiting for the original poster to respond, or discussion in progress.bug 🐛Something isn't workingSomething isn't workingnext release/in dev image 🚀This is coming in the next release or was already released if the issue is Closed.This is coming in the next release or was already released if the issue is Closed.
Description
Describe the issue
SNMP Discovery plug-in is failing, because front/plugins/snmp_discovery/script.py throws an error:
Traceback (most recent call last):
File "/home/pi/pialert/front/plugins/snmp_discovery/./script.py", line 96, in <module>
main()
File "/home/pi/pialert/front/plugins/snmp_discovery/./script.py", line 80, in main
primaryId = handleEmpty(macAddress),
^^^^^^^^^^^
NameError: name 'handleEmpty' is not defined
The script is missing an import of the handleEmpty method at line 16:
from plugin_helper import Plugin_Object, Plugin_Objects, decodeBase64
should be:
from plugin_helper import Plugin_Object, Plugin_Objects, decodeBase64, handleEmpty
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Waiting for reply⏳Waiting for the original poster to respond, or discussion in progress.Waiting for the original poster to respond, or discussion in progress.bug 🐛Something isn't workingSomething isn't workingnext release/in dev image 🚀This is coming in the next release or was already released if the issue is Closed.This is coming in the next release or was already released if the issue is Closed.