mirror of https://github.com/nicolargo/glances.git
Glances won't start when using snmp discovery with parameter -c #3354
This commit is contained in:
parent
b9c451ce7a
commit
f2641c80e2
|
|
@ -13,8 +13,9 @@ from glances.logger import logger
|
|||
# Import mandatory PySNMP lib
|
||||
try:
|
||||
from pysnmp.entity.rfc3413.oneliner import cmdgen
|
||||
except ImportError:
|
||||
logger.critical("PySNMP library not found. To install it: pip install pysnmp")
|
||||
except ImportError as e:
|
||||
logger.debug(f"Can not import pysnmp-lextudio lib: {e}")
|
||||
logger.critical("PySNMP library not found. To install it: pip install 'pysnmp-lextudio<6.2.0'")
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ ip = [
|
|||
raid = ["pymdstat"]
|
||||
sensors = ["batinfo; platform_system == 'Linux'"]
|
||||
smart = ["pySMART.smartx"]
|
||||
snmp = ["pysnmp-lextudio<6.3.1"]
|
||||
snmp = ["pysnmp-lextudio<6.2.0"]
|
||||
sparklines = ["sparklines"]
|
||||
web = [
|
||||
"fastapi>=0.82.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue