rsmuc / health_monitoring_plugins

Several plugins for icinga / nagios
GNU General Public License v2.0
16 stars 15 forks source link

check_moxa.py - ImportError: No module named snmpSessionBaseClass #19

Closed 42bios closed 5 years ago

42bios commented 5 years ago

Hi, when i try the check_moxa.py i'm getting the following errors:

./check_moxa.py -H 192.168.x.x -p 1

Traceback (most recent call last): File "./check_moxa.py", line 23, in from snmpSessionBaseClass import add_snmpv3_options, add_common_options, get_common_options, verify_host ImportError: No module named snmpSessionBaseClass

rsmuc commented 5 years ago

Hi, did you install the Python package with pip?

42bios commented 5 years ago

Hi, nope i used apt-get. Maybe is this the problem?

42bios commented 5 years ago

Ah i forgot to copy "snmpSessionBaseClass.py" to the libexec folder...