You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I use the disks for monitoring on my rocky-linux 8.5 server. I can see the SDA mount disks, but I cannot monitor the RAM drive. This is the result when I run it manually with zabbi_get.
Does anyone know anything about the problem?
zabbix_get -s 127.0.0.1 -k "custom.vfs.discover_disks"
File "/etc/zabbix/scripts/lld-disks.py", line 9
devices = (device for device in os.listdir("/sys/class/block")
^
IndentationError: unindent does not match any outer indentation level
Thanks.
The text was updated successfully, but these errors were encountered:
The error denotes that the indentation was not respected when you've pasted the python script. You should be able to get the file locally directly instead of copy/paste:
Hello,
I use the disks for monitoring on my rocky-linux 8.5 server. I can see the SDA mount disks, but I cannot monitor the RAM drive. This is the result when I run it manually with zabbi_get.
Does anyone know anything about the problem?
zabbix_get -s 127.0.0.1 -k "custom.vfs.discover_disks"
File "/etc/zabbix/scripts/lld-disks.py", line 9
devices = (device for device in os.listdir("/sys/class/block")
^
IndentationError: unindent does not match any outer indentation level
Thanks.
The text was updated successfully, but these errors were encountered: