Ad Widget

Collapse

A large number of items are : ZBX_NOTSUPPORTED

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • velda
    Junior Member
    • Aug 2014
    • 5

    #1

    A large number of items are : ZBX_NOTSUPPORTED

    Both server and client are CentOS6U5.
    On both agent is 2.2.5.
    Server is also 2.2.5.

    For many (crucial) items, when testing directly on client OR server I get :
    # zabbix_agent -t "system.cpu.load[<cpu>,<mode>]"
    system.cpu.load[<cpu>,<mode>] [m|ZBX_NOTSUPPORTED]
    # zabbix_agent -t "system.cpu.util[<cpu>,<type>,<mode>]"
    system.cpu.util[<cpu>,<type>,<mode>] [m|ZBX_NOTSUPPORTED]
    # zabbix_agent -t "system.sw.os[<info>]"
    system.sw.os[<info>] [m|ZBX_NOTSUPPORTED]
    # zabbix_agent -t "vm.memory.size[<mode>]"
    vm.memory.size[<mode>] [m|ZBX_NOTSUPPORTED]
    # zabbix_agent -t "net.tcp.service[service,<ip>,<port>]"
    net.tcp.service[service,<ip>,<port>] [m|ZBX_NOTSUPPORTED]

    And as per matrix they should work, but they don't.
    In both cases Zabbix agent is connected (green letter "Z").

    What am I doing wrong?
  • filipp.sudanov
    Senior Member
    Zabbix Certified Specialist
    • May 2014
    • 137

    #2
    "as per matrix they should work" - what matrix do you mean?

    When zabbix_agent -t is run, it launches a new copy of zabbix_agent, tries to get item value and exits. The thing is, that some values, e.g. cpu load, can not get obtained in that way - they require zabbix_agent to run for some time and observe the system. That's probably why you are getting NOTSUPPORTED values here.

    Comment

    • aib
      Senior Member
      • Jan 2014
      • 1615

      #3
      Silly question: I hope you are using the real words for <cpu> and for <mode>, not their substitution from example?

      like
      Code:
      system.cpu.load[percpu,avg1] (real example) instead of
      Code:
      system.cpu.load[<cpu>,<mode>] (general description from documentation)
      Also take a look on page Items supported by platform, because some Items doesn't work on all platforms in the same way.
      Sincerely yours,
      Aleksey

      Comment

      • velda
        Junior Member
        • Aug 2014
        • 5

        #4
        Thank you

        THNKS for replies.
        I have not solved this, but have found a workaround.
        I remove Template zabbix agent from the host, and add Template Linux OS, and get all the items that I need.
        PS those two Templates can not coexist on the same host (collision of items).

        Comment

        • coreychristian
          Senior Member
          Zabbix Certified Specialist
          • Jun 2012
          • 159

          #5
          Originally posted by velda
          THNKS for replies.
          I have not solved this, but have found a workaround.
          I remove Template zabbix agent from the host, and add Template Linux OS, and get all the items that I need.
          PS those two Templates can not coexist on the same host (collision of items).
          I believe by default the zabbix agent template is linked to the Template Linux OS, which is why you can't (and don't need) to apply them both.

          Comment

          • velda
            Junior Member
            • Aug 2014
            • 5

            #6
            Zabbix

            Thank you.
            I have not found that mentioned anywhere.
            I must confess that I am rather disappointed by the Zabbix documentation....

            Comment

            • coreychristian
              Senior Member
              Zabbix Certified Specialist
              • Jun 2012
              • 159

              #7
              Originally posted by velda
              Thank you.
              I have not found that mentioned anywhere.
              I must confess that I am rather disappointed by the Zabbix documentation....
              The documentation is actually pretty good, though it's not the easiest to navigate. Honestly like with most things in IT I find google/bing to be the best way to find out how to do what I need to do.

              Comment

              Working...