I have been working to create a trigger that will be capable to check the value inside of a windows server file.txt which within its content will have a value of 1 or 0.
Zabbix will read the file and if the read value is = 1, it will do nothing. If not (0) , it will sent an alert and restart the service.
{server.com:vfs.file.regexp[D:\path.txt].last(#3,"0",eq)}> 1
but I when I try to update it says
Any ideas?
Thanks
Zabbix will read the file and if the read value is = 1, it will do nothing. If not (0) , it will sent an alert and restart the service.
{server.com:vfs.file.regexp[D:\path.txt].last(#3,"0",eq)}> 1
but I when I try to update it says
- Incorrect trigger function "last(#3,"0",eq)" provided in expression. Invalid number of parameters.
Any ideas?
Thanks
Comment