Ad Widget

Collapse

Vfs.file.exists and regexp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • levo01
    Junior Member
    • Jun 2012
    • 17

    #1

    Vfs.file.exists and regexp

    Hello ,

    I would like to know if Zabbix 2.0 supports the vfs.file.exists item with regexp.

    I have found an old support page where it is written that it would be added.

    However when I test it doesn't work :

    I have a file for exemple appli1.pid, I want to test with the simple regexp appli[0-9].pid$ (just to test).

    user@:/usr/local/bin$ ./zabbix_get -s 163.187.176.81 -p 10050 -k "vfs.file.exists["/home/user/test/appli1.pid"]"
    1 -> ok

    user@:/usr/local/bin$ ./zabbix_get -s 163.187.176.81 -p 10050 -k "vfs.file.exists[/home/user/test/appli[0-9].pid$]"
    0-> doesn't work

    user@:/usr/local/bin$ ./zabbix_get -s 163.187.176.81 -p 10050 -k "vfs.file.exists["/home/user/test/appli[0-9].pid$"]"
    0 -> with quotes , doesn't work

    Is my syntax incorrect or a problem with zabbix ?

    Thank you.
  • levo01
    Junior Member
    • Jun 2012
    • 17

    #2
    No answer !

    Maybe you don't want to read all the post.

    Just answer this question please :

    Does Zabbix 2.0 support the regexp for the vfs.file.exists items ?

    Thank you.

    Comment

    • levo01
      Junior Member
      • Jun 2012
      • 17

      #3
      Hello,
      No idea !

      Comment

      Working...