Ad Widget

Collapse

Using the vfs.dir.count feature on Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pmurtey
    Member
    • Mar 2020
    • 91

    #1

    Using the vfs.dir.count feature on Linux

    Hi All, We have been trying to determine how to monitor a Linux directory to find out if a log file count has exceeded 4 logs. The directory should not contain more than 4 logs or we would need to be alerted. We looked at the documentation at https://www.zabbix.com/documentation...s/zabbix_agent but the vendor documentation isn't really user friendly or intuitive. Can anyone share with us a link with some examples, or a how to video. We have found a lot of useful youtube videos and forum posts on other issues but not a whole lot on this one. TIA
  • niveastn
    Member
    • Oct 2021
    • 82

    #2
    hey

    See if the explanation for vfs.dir.count https://www.zabbix.com/documentation...s/zabbix_agent its clear for you in this link
    They detail what parameter means, and have a few examples
    Examples:
    ⇒ vfs.dir.count[/dev] - monitors number of devices in /dev (Linux)
    ⇒ vfs.dir.count["C:\Users\ADMINI~1\AppData\Local\Temp"] - monitors number of files in temporary directory (Windows)

    Comment

    Working...