Zabbix agent v7.0.8.
When I do a vfs.dir.get[{$SMARTS.LOG.BASEPATH},log,,file,,1,,,,3600,] where the macro contains path to the wanted directory.
In that directory could be 4 or 5 subfolders.
The files in the subfolder have the extension .log but in rare occasions a .zip file could be there. I try the key with zip on exclude but that didn't change anything on the timeouts.
At the beginning the agent timeout was default and then also sometimes data and also regularly not.
Changing agent timeout to Timeout=10 doesn't change much. So that makes me believe that maybe something else is happening.
Funfact is that since I also have the following item:
vfs.dir.count[{$SMARTS.LOG.BASEPATH},,,,,1,,,,,] which returns 143 so it isn't so that there are really that many files in the folders. the vfs.dir.get command seems to run better (less timeouts)
For the, at the moment, 4 subfolders I also have a logrt items which works without any issue.
What could be the reason that the vfs.dir.get is getting timeout a lot?
it worked sometimes on the default 3s but with 9s item timeout and 10s agent timeout it still does very often
When I do a vfs.dir.get[{$SMARTS.LOG.BASEPATH},log,,file,,1,,,,3600,] where the macro contains path to the wanted directory.
In that directory could be 4 or 5 subfolders.
The files in the subfolder have the extension .log but in rare occasions a .zip file could be there. I try the key with zip on exclude but that didn't change anything on the timeouts.
At the beginning the agent timeout was default and then also sometimes data and also regularly not.
Changing agent timeout to Timeout=10 doesn't change much. So that makes me believe that maybe something else is happening.
Funfact is that since I also have the following item:
vfs.dir.count[{$SMARTS.LOG.BASEPATH},,,,,1,,,,,] which returns 143 so it isn't so that there are really that many files in the folders. the vfs.dir.get command seems to run better (less timeouts)
For the, at the moment, 4 subfolders I also have a logrt items which works without any issue.
What could be the reason that the vfs.dir.get is getting timeout a lot?
it worked sometimes on the default 3s but with 9s item timeout and 10s agent timeout it still does very often

Comment