SNMP crashing when pool offline

TN22

Dabbler
Joined
Sep 12, 2022
Messages
13
Still digging into why my "backup" pool failed, but apparently when a pool goes offline, it causes the SNMP service to crash and restart repeatedly.


Code:
Sep 19 07:38:29 nas systemd[1]: Started SNMP Agent.

Sep 19 07:38:45 nas snmp-agent.py[1092537]: [Info] NET-SNMP version 5.9 AgentX subagent connected

Sep 19 07:38:45 nas snmp-agent.py[1092537]: Traceback (most recent call last):

Sep 19 07:38:45 nas snmp-agent.py[1092537]:   File "/usr/local/bin/snmp-agent.py", line 513, in <module>

Sep 19 07:38:45 nas snmp-agent.py[1092537]:     for dataset in zpool.root_dataset.children_recursive:

Sep 19 07:38:45 nas snmp-agent.py[1092537]:   File "libzfs.pyx", line 2523, in libzfs.ZFSPool.root_dataset.__get__

Sep 19 07:38:45 nas snmp-agent.py[1092537]: libzfs.ZFSException: pool I/O is currently suspended

Sep 19 07:38:45 nas systemd[1]: snmp-agent.service: Main process exited, code=exited, status=1/FAILURE

Sep 19 07:38:45 nas systemd[1]: snmp-agent.service: Failed with result 'exit-code'.

Sep 19 07:38:55 nas systemd[1]: snmp-agent.service: Scheduled restart job, restart counter is at 728.

Sep 19 07:38:55 nas systemd[1]: Stopped SNMP Agent.
 
Top