Ad Widget

Collapse

Cannot obtain filesystem information: [13] Permission denied

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rubendob
    Member
    • Apr 2012
    • 36

    #1

    Cannot obtain filesystem information: [13] Permission denied

    Hi

    server: 3.0-1+trusty
    agent: zabbix-agent-3.0.2-1.el6.x86_64
    nodes: Centos 6
    uname: Linux ns227962.ovh.net 2.6.32-042stab108.2


    I'm running Zabbix 3 agent on a bunch of hardware nodes with Openvz Centos 6. I'm getting a permission problem to get data from some simfs or ploop devices mounted on the /vz

    filesystem information: [13] Permission denied

    Code:
    9729:20160523:080323.028 item "ns3016949.ip-151-80-103.eu:vfs.fs.size[/vz/root/106,total]" became not supported: Cannot obtain filesystem information: [13] Permission denied
    Do you think I can fix this in some way?

    UPDATE1:

    I've added zabbix as sudoer user as

    Code:
    zabbix ALL=(ALL)        NOPASSWD: ALL
    then login as zabbix, no success


    Thanks!
    Last edited by rubendob; 23-05-2016, 14:26.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Does it work from command line on agent box:

    Code:
    df /vz/root/106
    or if you run it using zabbix_agentd:

    Code:
    zabbix_agentd -t vfs.fs.size[/vz/root/106,total]
    ?

    Comment

    • klm46
      Junior Member
      • Mar 2018
      • 3

      #3
      I got the same issue here with actual environment of zabbix.

      zabbix_agentd -t vfs.fs.size[/opt/lvs/share,free]
      vfs.fs.size[/opt/lvs/share,free] [u|39888629760]


      /dev/sdb 50G 9.5G 38G 21% /opt/lvs/share


      At zabbix the error is the same as written here. any ideas?






      Comment


      • Atsushi
        Atsushi commented
        Editing a comment
        Please check the access permission of that path.
        Is it accessible by the user who is activating the Zabbix agent?
        If you have enabled SELinux, please make sure the policy setting is done.

        Information that identifies the cause should also be output to various logs.
        Please also check the logs.
    • si458
      Junior Member
      • Aug 2018
      • 1

      #4
      did anybody manage to get this issue resolved?

      im having the same issue...

      Virtuozzo 7 Machine being monitored by zabbix-agent

      [root@vz1 ~]# zabbix_agentd -t vfs.fs.size[/vz/root/0cefcef2-567b-4517-9024-f0591eff310f,free]
      vfs.fs.size[/vz/root/0cefcef2-567b-4517-9024-f0591eff310f,free] [u|34178330624]

      running command from the machine gets and returns results, but zabbix panel is still showing

      Cannot obtain filesystem information: [13] Permission denied

      Comment

      • Dearli
        Junior Member
        • Mar 2019
        • 1

        #5
        First,ensure that the zabbix user in your system has the right permission,then run the command "systemctl restart zabbix-agent".Now i can see the result what i want!

        Comment

        Working...