SNMP bugs on Scale

francisaugusto

Contributor
Joined
Nov 16, 2018
Messages
153
Hi,

SNMP is failing the whole time. I am getting this every 10 seconds on jounalctl:

Code:
Feb 26 11:33:02 freenas.med-lo systemd[1]: snmp-agent.service: Scheduled restart job, restart counter is at 267.
Feb 26 11:33:02 freenas.med-lo systemd[1]: Stopped SNMP Agent.
Feb 26 11:33:02 freenas.med-lo systemd[1]: Started SNMP Agent.
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]: Traceback (most recent call last):
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:   File "/usr/local/bin/snmp-agent.py", line 300, in <module>
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:     interface_top_host_table = agent.Table(
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:   File "/usr/lib/python3/dist-packages/netsnmpagent.py", line 927, in Table
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:     return Table(oidstr, indexes, columns, counterobj, extendable, context)
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:   File "/usr/lib/python3/dist-packages/netsnmpagent.py", line 714, in __init__
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:     self._handler_reginfo = agent._prepareRegistration(
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:   File "/usr/lib/python3/dist-packages/netsnmpagent.py", line 365, in _prepareRegistration
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:     raise netsnmpAgentException("read_objid({0}) failed!".format(oidstr))
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]: netsnmpagent.netsnmpAgentException: read_objid(FREENAS-MIB::interfaceTopHostTable) failed!
Feb 26 11:33:02 freenas.med-lo systemd[1]: snmp-agent.service: Main process exited, code=exited, status=1/FAILURE
Feb 26 11:33:02 freenas.med-lo systemd[1]: snmp-agent.service: Failed with result 'exit-code'.
 

Trexx

Dabbler
Joined
Apr 18, 2021
Messages
29
Hi,

SNMP is failing the whole time. I am getting this every 10 seconds on jounalctl:

Code:
Feb 26 11:33:02 freenas.med-lo systemd[1]: snmp-agent.service: Scheduled restart job, restart counter is at 267.
Feb 26 11:33:02 freenas.med-lo systemd[1]: Stopped SNMP Agent.
Feb 26 11:33:02 freenas.med-lo systemd[1]: Started SNMP Agent.
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]: Traceback (most recent call last):
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:   File "/usr/local/bin/snmp-agent.py", line 300, in <module>
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:     interface_top_host_table = agent.Table(
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:   File "/usr/lib/python3/dist-packages/netsnmpagent.py", line 927, in Table
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:     return Table(oidstr, indexes, columns, counterobj, extendable, context)
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:   File "/usr/lib/python3/dist-packages/netsnmpagent.py", line 714, in __init__
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:     self._handler_reginfo = agent._prepareRegistration(
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:   File "/usr/lib/python3/dist-packages/netsnmpagent.py", line 365, in _prepareRegistration
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]:     raise netsnmpAgentException("read_objid({0}) failed!".format(oidstr))
Feb 26 11:33:02 freenas.med-lo snmp-agent.py[89486]: netsnmpagent.netsnmpAgentException: read_objid(FREENAS-MIB::interfaceTopHostTable) failed!
Feb 26 11:33:02 freenas.med-lo systemd[1]: snmp-agent.service: Main process exited, code=exited, status=1/FAILURE
Feb 26 11:33:02 freenas.med-lo systemd[1]: snmp-agent.service: Failed with result 'exit-code'.
The best option would be to submit a support ticket on it from within TrueNas Scale.
 
Top