Ad Widget

Collapse

Triggers for others ports

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samuka
    Junior Member
    • Nov 2006
    • 13

    #1

    Triggers for others ports

    I my friends,

    i need monitor port 873 (rsync)

    i created a item

    net.tcp.port[,873]

    OK, perfect, but i need a trigger for it.
    help me please
    and sorry my english, is very very very bad.

    tks.
  • brick
    Junior Member
    • Nov 2006
    • 8

    #2
    Hello!

    Do as always:

    Rsync is down on {HOSTNAME}
    {net.tcp.port[,873].last(0)=0}

    Comment

    • samuka
      Junior Member
      • Nov 2006
      • 13

      #3
      perfect, but don´t add



      [ERROR:Cannot add trigger]

      Expression [{net.tcp.port[,873].last(0)=0}] does not match to [server:key.func(param)]

      Comment

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

        #4
        Originally posted by samuka
        perfect, but don´t add



        [ERROR:Cannot add trigger]

        Expression [{net.tcp.port[,873].last(0)=0}] does not match to [server:key.func(param)]
        Obviously you missed host name:

        {host:net.tcp.port[,873].last(0)=0}
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • samuka
          Junior Member
          • Nov 2006
          • 13

          #5
          Alexei,

          the screenshots are in attachment with my problem
          1.jpg > I add item, sucessfull
          2.jpg > add trigger, error.

          both are Standalone_t

          look please.
          Attached Files
          Last edited by samuka; 13-11-2006, 01:51.

          Comment

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

            #6
            This is correct: {host:net.tcp.port[,873].last(0)}=0
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • tapto
              Junior Member
              • Nov 2006
              • 28

              #7
              I think its a typing error in the last part

              {standalone_t:net.tcp.port[,873].last(0)}=0

              The item and the trigger in your example don't match
              one is for internet check the otherone for port 873

              If you want a trigger for internet check use

              Type: Zabbix Agent
              key: net.tcp.service[http,64.233.187.99]

              trigger
              {host:net.tcp.service[http,64.233.187.99].last(0)}=0

              hope yhis helps you

              Comment

              • samuka
                Junior Member
                • Nov 2006
                • 13

                #8
                Perfect. Thanks for all.

                Comment

                Working...