Ad Widget

Collapse

Actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • safl
    Senior Member
    • May 2005
    • 103

    #1

    Actions

    I want to add actions for a hosts so whatever mistake occurs i want a user to be informed.
    So i add an action with scope = 1. I use add_action like this:

    add_action("12319", "3", "2", "30", "*Automatically generated*", "*Automatically generated*", "1", "0", "0", "0");
    So user '3' will get information on whatever. My question is, why do i need to simply a triggerid? I want the action to react on all triggers so would't suplying a hostid make more sense?

    -Simon
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Yes, it would be more logical. However, this would also introduce known complexity of the GUI and data structures. Perhaps I'll re-implement it differently at some point.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...