Ad Widget

Collapse

actions problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • glut0r
    Member
    • Mar 2007
    • 38

    #1

    actions problem

    I was wondering if it is possible to generate action perl template, say Unix_t.
    What I do is configure action->remote command, then create action, appropiate trigger and its state, like this:

    trigger blabla, trigger value on, and action:
    Code:
    Unix_t:/etc/init.d/apache stop
    The point is I need to perform action per trigger for this specific template, which applies to any host linked to this template.
    As far as I remember, there is only possible to perform action per host, say
    Code:
    router1:/etc/init.d/apache stop
    It is possible to have this applied to template? Or am I supposed to create action per every trigger for every host separately?
    Thanks.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    It will be suppoirted in 1.4 as:

    {HOSTNAME}:/etc/init.d/apache stop
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • glut0r
      Member
      • Mar 2007
      • 38

      #3
      Originally posted by Alexei
      It will be suppoirted in 1.4 as:

      {HOSTNAME}:/etc/init.d/apache stop

      Excellent. I'll upgrade immediately after release.
      Is it available in 1.3.7 beta yet?

      Comment

      Working...