Ad Widget

Collapse

Monitor Service on Zabbix Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abovebeyond
    Member
    • Dec 2015
    • 32

    #1

    Monitor Service on Zabbix Server

    Hey,

    What is the best way to monitor a service on Zabbix Server (local)

    I tried with: net.tcp.service[myservice,,3060]

    M 'm receiving the error: "Not supported by Zabbix agent"

    What am i missing?

    Thanks
  • sergio.cricca
    Member
    • Mar 2008
    • 43

    #2
    Use it as follows:
    net.tcp.service[tcp,,3060]

    If you get errors, then, best way is check on log files for additional infos.

    Comment

    • abovebeyond
      Member
      • Dec 2015
      • 32

      #3
      Thanks but its not working

      i checked the logs (messages, zabbix agent)
      nothing there...

      Comment

      • bbrendon
        Senior Member
        • Sep 2005
        • 870

        #4
        Increase logging verbosity? Did you check they red Xs in the GUI?
        Unofficial Zabbix Expert
        Blog, Corporate Site

        Comment

        • abovebeyond
          Member
          • Dec 2015
          • 32

          #5
          yes, its ""Not supported by Zabbix agent"

          Comment

          • bbrendon
            Senior Member
            • Sep 2005
            • 870

            #6
            are you sure you have the item type set correctly?
            Unofficial Zabbix Expert
            Blog, Corporate Site

            Comment

            • DmitryL
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • May 2016
              • 278

              #7
              Hello abovebeyond!

              Error speaks for itself
              net.tcp.service is not supported by zabbix agent (item type)
              Change the type of item to " Simple check " and test again.

              Comment

              • abovebeyond
                Member
                • Dec 2015
                • 32

                #8
                Originally posted by Dmitryb
                Hello abovebeyond!

                Error speaks for itself
                net.tcp.service is not supported by zabbix agent (item type)
                Change the type of item to " Simple check " and test again.
                Hi Dmitry, what is the Username & Password field for?

                I tried without enter any value and still getting the "not supported by zabbix agent"

                Type - simple check
                key - net.tcp.listen[3060]
                username - none
                password - none
                Type of information - numeric (unsigned)

                Comment

                • DmitryL
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • May 2016
                  • 278

                  #9
                  Fields Username and Password are used only for VMware monitoring, otherwise it is ignored.

                  Try with net.tcp service,

                  net.tcp.service[tcp,,3060]
                  Type: Numeric (float)
                  Show value: Service state

                  In monitoring tab, you will see UP (1) or Down (0)

                  Zabbix documentation:Simple checks


                  Also, please check Administration->General->Other
                  Refresh unsupported items (in sec)
                  By default its 600 sec
                  Last edited by DmitryL; 17-05-2016, 10:01. Reason: Edited Key

                  Comment

                  • abovebeyond
                    Member
                    • Dec 2015
                    • 32

                    #10
                    Originally posted by Dmitryb
                    Fields Username and Password are used only for VMware monitoring, otherwise it is ignored.

                    Try with net.tcp service,

                    net.tcp.service[tcp,,3060]
                    Type: Numeric (float)
                    Show value: Service state

                    In monitoring tab, you will see UP (1) or Down (0)

                    Zabbix documentation:Simple checks


                    Also, please check Administration->General->Other
                    Refresh unsupported items (in sec)
                    By default its 600 sec

                    Thanks

                    here are the results:

                    Simple check is not supported

                    Comment

                    • abovebeyond
                      Member
                      • Dec 2015
                      • 32

                      #11
                      Thanks ! it worked ..

                      Appreciate your help !

                      Comment

                      • DmitryL
                        Senior Member
                        Zabbix Certified SpecialistZabbix Certified Professional
                        • May 2016
                        • 278

                        #12
                        Glad to hear that!
                        Where was the problem?

                        btw, previously i said that net.tcp.service is not supported by zabbix agent. I was wrong.
                        It is supported by both of them (agent and simple check)

                        Comment

                        Working...