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.
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.
Comment