Ad Widget

Collapse

trigger if subfolder exists for more than 5 minutes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • herta
    Senior Member
    • Sep 2011
    • 101

    #1

    trigger if subfolder exists for more than 5 minutes

    environment:
    zabbix version 2.0.2
    zabbix server: Ubuntu 12.0.4 LTS
    zabbix client: Windows 2008 R2 SP1

    I need to monitor a map on the client. If it contains a subfolder and that subfolder is older than 5 minutes, a trigger should fire.

    Problem is that the subfolder name is not fixed. All I know is that it is numerical.

    Can this be done through a Zabbix item?
  • jvalenzani
    Member
    Zabbix Certified Specialist
    • Sep 2010
    • 53

    #2
    Use a Custom User Parameter that executes a PowerShell script to check the availability of the folder. You can use regular expressions to match the name (^\d+$).

    Comment

    Working...