Ad Widget

Collapse

Feature request: net.udp.port[<ip>, port]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • erisan500
    Senior Member
    Zabbix Certified Specialist
    • Aug 2005
    • 285

    #1

    Feature request: net.udp.port[<ip>, port]

    I don't know how easy/difficult it would be but it would come in handy if we had an item to check for UDP ports: net.udp.port[<ip>, port].

    That would allow us to check for ex. Voip services.

    I suppose net.tcp.port[<ip>, port] doesn't work with UDP ports ?
    EriSan
    Zabbix Certified Specialist
  • sauron
    Senior Member
    • Jan 2005
    • 215

    #2
    See RFC. We can test UDP only by application. It's not TCP.

    Comment

    • erisan500
      Senior Member
      Zabbix Certified Specialist
      • Aug 2005
      • 285

      #3
      Well, this should help then:

      Scanudp : http://www.geocities.com/fryxar/ (halfway down the page)
      EriSan
      Zabbix Certified Specialist

      Comment

      • sauron
        Senior Member
        • Jan 2005
        • 215

        #4
        Scanudp:

        This simple program written in C for Linux scan for UDP ports in remote hosts, determining which UDP services they are offering. All UDP scanners that I proved works under the following principle:

        UDP datagram -> Closed Port -> ICMP Port Unreachable

        UDP datagram -> Open Port -> No Reply (or application dependent)
        ICMP answer can be switch off. It's very simple. If you need check work service in all situations, you need send proper packet for service.

        Comment

        • wschlich
          Junior Member
          • May 2006
          • 8

          #5
          Ok, then you have to do it by application.
          Any plans on supporting specific UDP applications?

          Those pop to my mind:

          Misc:
          - DNS (53)
          - Syslog (514)
          - Portmap (111)
          - NTP (123)
          - Samba/NetBIOS (137, 138)
          - DHCPD (67)
          - OpenVPN (1194)

          Asterisk/VoIP related:
          - SIP (5060) -- Session Initiation Protocol
          - IAX2 (4569) -- Inter Asterisk eXchange
          - DUNDi (4520) -- Distributed Universal Number Discovery

          Comment

          • sauron
            Senior Member
            • Jan 2005
            • 215

            #6
            Originally posted by wschlich
            - DNS (53)
            - NTP (123)
            Already supported. Check options.

            Comment

            • wschlich
              Junior Member
              • May 2006
              • 8

              #7
              Ah, great.
              What about the others anyway?

              Comment

              • abhi238
                Junior Member
                • Aug 2007
                • 15

                #8
                What about SNMP Agent Status on UDP port 161 ?

                If an SNMP Agent is down, we need to get a trigger/alert saying agent is down.
                Presently simple checks don't support udp port

                Comment

                • Calimero
                  Senior Member
                  • Nov 2006
                  • 481

                  #9
                  Originally posted by abhi238
                  What about SNMP Agent Status on UDP port 161 ?

                  If an SNMP Agent is down, we need to get a trigger/alert saying agent is down.
                  Presently simple checks don't support udp port
                  You could use the nodata() function on one of your SNMP items to check whether snmp agent on host is fine.

                  Comment

                  • abhi238
                    Junior Member
                    • Aug 2007
                    • 15

                    #10
                    Hi,

                    I tried with nodata() function for items ifInOctets or La_load15 but does not work well as it triggers the events for most of the systems even if it responds to snmp queries.


                    Trigger Expression given:
                    1. {MY_SNMP_DEVICE:ifInOctets.1.nodata(300)}=1
                    2. {MY_SNMP_DEVICE:la_load_15.nodata(300)}=1

                    Comment

                    Working...