Symptoms:
Once Zabbix is deployed inside a VHS node from the agent side, ploop mounts are not monitored. This message could be shown in the zabbix interface:
"Cannot obtain filesystem information: [13] Permission denied" under "info" column within table with resources like:
"Free inodes in %"
"Space Utilization"
"Total Space"
"Used space"
Cause:
There are not enough permissions for the zabbix user who's the responsible/owner to run the zabbix service in the zabbix server.
Resolution:
In order to fix the permissions inconvenience, it is only necessary to add user "zabbix" to the group "disk" which is the group to which ploops belong. These actions should be applied in the zabbix agent (agent side node).
1) Confirm that zabbix user isn't member of the group:
# id -nG zabbix
zabbix
2) Add the user "zabbix" to the group called "disk", and verify its proper assignation:
# usermod -a -G disk zabbix
# id -nG zabbix
zabbix disk
3) Restart the zabbix-agent service:
# systemctl restart zabbix-agent
Finally, you should be able to visualize the different ploop's monitoring metrics belongs the node monitored.
Diagnostic steps:
In case you observe "Cannot obtain filesystem information: [13] Permission denied" warning messages through zabbix web panel, you should fix it by appending the proper rights to the zabbix user.
Related Ticket(s):
#401648