Ad Widget

Collapse

Directory Listings using a Zabbix Key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Neil Stanford
    Junior Member
    • Dec 2020
    • 1

    #1

    Directory Listings using a Zabbix Key

    Is there a Zabbix key that will return all file names in a directory? I can do this via a Powershell user parameter script but would prefer not to. From what I can see there is no key that will do this action.

    Currently I'm using a simple file.count[d:\POLLDATA\Uploads\ErrorDCN\Emailed,err] which will give me the number of .err files in the said location but I need to be able to list them as well.

    Any ideas or is Powershell my only option?
Working...