Ad Widget

Collapse

vfs.file.regmatch on windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SixArt
    Junior Member
    • Jul 2015
    • 22

    #1

    vfs.file.regmatch on windows

    Hi,

    I have 1 file with this text:
    test
    properties
    today
    How can I use vfs.file.regmatch to found properties??

    I try with:
    vfs.file.regmatch["C:\test.txt","properties",,,10] but it not work, return 0.

    Regards,
    Dario
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by SixArt
    Hi,

    I have 1 file with this text:


    How can I use vfs.file.regmatch to found properties??

    I try with:
    vfs.file.regmatch["C:\test.txt","properties",,,10] but it not work, return 0.

    Regards,
    Dario
    i did a test in my machine using zabbix_get

    Code:
    [root@zabbix:~:]zabbix_get -s 192.168.1.1 -p 10050 -I 192.168.200.199 -k vfs.file.regmatch["root/test","properties",,,10]
    1
    maybe file path is wrong ?

    Comment

    • SixArt
      Junior Member
      • Jul 2015
      • 22

      #3
      How can I use zabbix_get in linux? What should I install?

      But, my problem is for Windows file

      Comment

      Working...