Ad Widget

Collapse

Cannot obtain filesystem information: [13] Permission denied

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Netbulae
    Junior Member
    • Jul 2009
    • 27

    #1

    Cannot obtain filesystem information: [13] Permission denied

    Since I did an upgrade to zabbix-server-2.4.4-1.el6.x86_64 on Centos 6.6, I get the following error message for our discovered filesystems.

    "Cannot obtain filesystem information: [13] Permission denied"

    When I run:
    zabbix_get -s localhost -k vfs.fs.size[/var/lib/pgsql/9.3/data,free]

    I get an empty reply.

    When I run:
    zabbix_agentd -t vfs.fs.discovery

    I get normal results:
    vfs.fs.discovery [s|{"data":[{"{#FSNAME}":"/","{#FSTYPE}":"rootfs"},{"{#FSNAME}":"/proc","{#FSTYPE}":"proc"},{"{#FSNAME}":"/sys","{#FSTYPE}":"sysfs"},{"{#FSNAME}":"/dev","{#FSTYPE}":"devtmpfs"},{"{#FSNAME}":"/dev/pts","{#FSTYPE}":"devpts"},{"{#FSNAME}":"/dev/shm","{#FSTYPE}":"tmpfs"},{"{#FSNAME}":"/","{#FSTYPE}":"ext4"},{"{#FSNAME}":"/selinux","{#FSTYPE}":"selinuxfs"},{"{#FSNAME}":"/dev","{#FSTYPE}":"devtmpfs"},{"{#FSNAME}":"/proc/bus/usb","{#FSTYPE}":"usbfs"},{"{#FSNAME}":"/var/lib/pgsql/9.3/data","{#FSTYPE}":"ext4"},{"{#FSNAME}":"/boot","{#FSTYPE}":"ext4"},{"{#FSNAME}":"/proc/sys/fs/binfmt_misc","{#FSTYPE}":"binfmt_misc"}]}]

    I also tried the agent running as root instead of zabbix user, but this doesn't help.

    Any pointers?
  • Netbulae
    Junior Member
    • Jul 2009
    • 27

    #2
    Solved

    I had to set the permissions on the mount point correclty. I already put the zabbix user in the group but the group had no rx permissions

    Comment

    • offspring
      Junior Member
      • Mar 2016
      • 1

      #3
      I have the same problem.
      Everything worked fine on my EC2 instance, but after I added a new 1.5Tb volume new graphics are not drawn, and I see an error: Cannot obtain filesystem information: [13] Permission denied

      Rebooting zabbix-agent did not helped

      Comment

      • coreychristian
        Senior Member
        Zabbix Certified Specialist
        • Jun 2012
        • 159

        #4
        Originally posted by offspring
        I have the same problem.
        Everything worked fine on my EC2 instance, but after I added a new 1.5Tb volume new graphics are not drawn, and I see an error: Cannot obtain filesystem information: [13] Permission denied

        Rebooting zabbix-agent did not helped
        Check that the zabbix user (or the user running the zabbix agent), has permissions to read the mount point for the new file system.

        Comment

        Working...