Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5817

vfs.file.exists returns '0' for socket files

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 2.0.2
    • Agent (G)

      Hi,

      vfs.file.exists returns '0' for socket files until other files checks successfully. Could you please check it?

      $ ls -l /run/
      total 56
      rw-rr- 1 root root 5 Nov 5 20:26 acpid.pid
      srw-rw-rw- 1 root root 0 Nov 5 20:26 acpid.socket

      $ zabbix_agent -t vfs.file.exists[/run/acpid.socket]
      vfs.file.exists[/run/acpid.socket] [u|0]

      $ zabbix_agent -t vfs.file.exists[/run/acpid.pid]
      vfs.file.exists[/run/acpid.pid] [u|1]

      'stat' command returns result for the socket file too.

      $ stat /run/acpid.socket
      File: `/run/acpid.socket'
      Size: 0 Blocks: 0 IO Block: 4096 socket
      Device: fh/15d Inode: 9251 Links: 1
      Access: (0666/srw-rw-rw-) Uid: ( 0/ root) Gid: ( 0/ root)
      Access: 2012-11-03 02:00:33.754613563 +0000
      Modify: 2012-11-03 02:00:33.754613563 +0000
      Change: 2012-11-03 02:00:33.754613563 +0000

      What is going on with all this things?

      Thanks in advance.

            Unassigned Unassigned
            wrobertson William Robertson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: