Ad Widget

Collapse

Trigger with wildcard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pcamelio
    Member
    • Jul 2005
    • 67

    #1

    Trigger with wildcard

    Hi,

    I am looking to supervise planified tasks using Zabbix

    1) Create a dummy host SUIVI_TACHES
    2) add item like synchro_nas[10.1.0.5] as zabbix_trapper where 10.1.0.5 is the IP adress of a server where the task is running.
    3) create trigger for the corresponding item
    {SUIVI_TACHES:synchro_nas[10.1.0.5].last(0)}=1


    When the task runs, I send 1 ,when it stop I send 0

    This is working fine, but now I need to generate items and triggers for numerous servers, so I can I create one generic trigger like
    {SUIVI_TACHES:synchro_nas[{IPADDRESS}].last(0)}=1 ?

    Does it work ?
  • mary nancy
    Senior Member
    • Jul 2005
    • 125

    #2
    Even I have created a trigger like "service_state[MSSQL$BNASNDES]".
    When i add a trigger like :
    {win007:service_state[MSSQL$BNASNDES].last(0)}#0

    it says
    Expression [{win007:service_state[MSSQL$BNASNDES].last(0)}] does not match to [server:key.func(param)]

    Can somebody guide me how to make this trigger work where the item has a special charcter

    Comment

    • mary nancy
      Senior Member
      • Jul 2005
      • 125

      #3
      hi,

      Sorry to pop up the posting again in the forums...
      but I am really very curious to know if anybosy has tried an option to add a trigger with a wild character

      Thanks

      Comment

      • mary nancy
        Senior Member
        • Jul 2005
        • 125

        #4
        Sorry to pop up the forum posting...

        has anone found an option to add a trigger with wildcard in ti

        Comment

        Working...