Ad Widget

Collapse

VFS.get.dir timeouts very often

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #1

    VFS.get.dir timeouts very often

    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
  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #2
    The marked items are collected on the correct interval (2 minutes) the rest has timeouts in between. And I can't find any pattern in this. So any suggestions would be nice
    Click image for larger version

Name:	image.png
Views:	99
Size:	34.5 KB
ID:	499570

    Comment

    Working...