Small fix for Daniel's code (snmp polling): just moved the snmp import
to the internal part of the if in the shared_functions.py file. It
ensures that older installations (and VMs) continues to work, even
without the snmp-python dependency installed.