Ad Widget

Collapse

IIS by Zabbix agent active - Appool is not in Running state, trigger after 3 minutes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PeterBa
    Junior Member
    • Jul 2026
    • 1

    #1

    IIS by Zabbix agent active - Appool is not in Running state, trigger after 3 minutes

    Hello everyone,

    I'm in a pickle with IIS by Zabbix agent active - IIS: Application pool {#APPPOOL} is not in Running state.

    Due to network / security complications I'm not able to let Zabbix know that a website in IIS under maintenance. Our desired workaround is to not trigger the IIS: Application pool {#APPPOOL} is not in Running state prototype trigger until the application pool is not in running state (3) for longer then 3 minutes.

    It doesn't matter how we adjust the trigger. It either doesn't see the application pool go down at all, or the trigger fires right away.

    Our latest attempt which also failed;
    Problem expression
    Code:
    min(/IIS by Zabbix agent active/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"],3m)<>3
    and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1
    Recovery expression
    Code:
    last(/IIS by Zabbix agent active/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"])=3
    Is there a way to fire the trigger only if the application pool is not in running state for more then 3 minutes?

    I'm using Zabbix 7.4.11
    Last edited by PeterBa; 08-07-2026, 09:45. Reason: added Zabbix version
  • Rudlafik
    Senior Member
    • Nov 2018
    • 165

    #2
    Add to query: min(/IIS by Zabbix agent active/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"],3m)<>3
    and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1 and count(/IIS by Zabbix agent active/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"],3m,,"3")>2

    https://www.zabbix.com/documentation...ers/expression exampe 7.

    Comment

    Working...