Ad Widget

Collapse

Scripts commands macro

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramivis
    Junior Member
    • Feb 2019
    • 6

    #1

    Scripts commands macro

    The scripts are a very useful feature, but I need execute scripts (on demand) with Trigger/events macro, but just only HOST macro is supported in commands.

    The actions have suport for trigger/events and host macro but I need to run just on demand (some times I need to run and other not for the same trigger/event).

    Its possible to use trigger and events in scripts of others methods? Maybe in the future version the zabbix scripts support more macros in commands? =)

    tks
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    You need to define action trigger https://www.zabbix.com/documentation...cations/action
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • ramivis
      Junior Member
      • Feb 2019
      • 6

      #3
      With trigger event action. the action ever is started based on condition, but I need start a action on demand, for same trigger event some times I need start and other times not. The scripts solve the problem but it just has host macro and not trigger event macro.

      Comment

      Working...