Hello,
The file I'm looking for is in /var/lib/zabbix/file.txt
I wanted to look into a .txt file and I could not. So I downgraded the difficulty and I tried to see if it exists.
So I created an item on my Zabbix server with the key "vfs.file.exists[/var/lib/zabbix,dir]" --> result = 1 --> OK
But when I try "vfs.file.exists[/var/lib/zabbix/file.txt] --> result = 0 --> NOK and yet the file is here.
The access rights of the file are at least the same as the directory before.
And wherever I put the file, I can only access the folder and not the file.
I moved the "./zbx_env" in docker's yaml file at "/opt/docker/zabbix/zbx_env"
Could it be the cause ?
I'm stuck on that for the past few days and can't get through...
Thanks
The file I'm looking for is in /var/lib/zabbix/file.txt
I wanted to look into a .txt file and I could not. So I downgraded the difficulty and I tried to see if it exists.
So I created an item on my Zabbix server with the key "vfs.file.exists[/var/lib/zabbix,dir]" --> result = 1 --> OK
But when I try "vfs.file.exists[/var/lib/zabbix/file.txt] --> result = 0 --> NOK and yet the file is here.
The access rights of the file are at least the same as the directory before.
And wherever I put the file, I can only access the folder and not the file.
I moved the "./zbx_env" in docker's yaml file at "/opt/docker/zabbix/zbx_env"
Could it be the cause ?
I'm stuck on that for the past few days and can't get through...
Thanks
Comment