Ad Widget

Collapse

vfs.file.exists and windows server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jysse
    Junior Member
    • Sep 2011
    • 4

    #1

    vfs.file.exists and windows server

    Hi,
    This my first post to this forum.

    Anyway, I' trying to use vfs.file.exists against a windows server but I can't seem to make it work ok.

    Item always returns value 0 even if file exists.

    Agent (ver. 1.8.5) is running in Windows 2008 server and works ok.
    Here are some tests from cli. Zabbix server in Centos6.

    Windows 2008:
    /usr/local/bin/zabbix_get -s 192.168.50.4 -p10050 -k "agent.version"
    1.8.5 ,seems to be ok.

    /usr/local/bin/zabbix_get -s 192.168.50.4 -p10050 -k "vfs.file.exists[c:\test.txt]"
    0 , file exists but returns zero.

    Testing local zabbix server :
    /usr/local/bin/zabbix_get -s 127.0.0.1 -p10050 -k "vfs.file.exists[/tmp/test.txt]"
    1 , seems ok as this file exist

    Any ideas how fix this ?

    Thanks,

    Jysse
    ------

    Ignore this as it was my own fault. I created test.txt file straight from File Manager and ended up with a file test.txt.txt
    So, zabbix is working right !
    Last edited by jysse; 14-10-2011, 09:20. Reason: Solved
Working...