Ad Widget

Collapse

Problem with aggregate checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mpotter-xiss
    Junior Member
    • Jul 2008
    • 10

    #1

    Problem with aggregate checks

    I have defined the following aggregate check:

    grpavg["Cluster Managers","system.cpu.load[,avg1]","last,"0""]

    The systems in the group all have values for the key "system.cpu.load[,avg1]" and in fact graphs can be made for each system's cpu load. However the aggregate does not work. It remains active, shows no errors, and yet also never produces the average requested.

    I the server log I find:

    21584:20090115:154819 No values for group[Cluster Managers] key[system.cpu.load[/,avg1]])
    21585:20090115:154826 No values for group[Cluster Managers] key[system.cpu.load[/,avg1]])
    21586:20090115:154914 No values for group[Cluster Managers] key[system.cpu.load[/,avg1]])

    Parameter [grpavg["Cluster Managers","system.cpu.load[,avg1]","last,"0""]] is not supported by agent on host [cm1a-hc.gxt.com] Old status [0]

    The item is set properly to Zabbix Aggregate and not to Zabbix Agent.

    I am using the key as it is the key used in the manual as an example. Am I missing something here?
    Last edited by mpotter-xiss; 16-01-2009, 00:10.
  • ittec
    Member
    • Mar 2008
    • 73

    #2
    Where?

    Hi

    I have just created a item to test Zabbix Aggregated. But my question is more basic.

    How can I setup a aggregated Item? Where? Can somebody give some rules?

    I go to a Item of any host, and try to add an item as Zabbix Aggregated but the answer of Zabbix is

    ERROR: Cannot add item

    if I try to save the Key.

    Thanks
    Last edited by ittec; 03-06-2009, 17:44.

    Comment

    • MarioF
      Junior Member
      • Dec 2008
      • 10

      #3
      Hi ittec,

      not sure if you've already realised but you have to add in the key manually.

      As it says in the manual:

      to add a aggregate item that sums all the disk space for servers in a group called "MySQL Servers", do the following:

      grpsum[“MySQL Servers”,”vfs.fs.size[/,total]”,”last”,”0”]

      (the "" are important and I think / refers to all the disks - which is odd in my opinion).

      While this seems to work - I get wierd results. The grpsum total is far greater than if I added all the disk usage stats together manually. Does the vfs.fs.size also add "disabled" items?

      Comment

      • ittec
        Member
        • Mar 2008
        • 73

        #4
        Aggregated

        Originally posted by MarioF
        Hi ittec,

        not sure if you've already realised but you have to add in the key manually.

        As it says in the manual:

        to add a aggregate item that sums all the disk space for servers in a group called "MySQL Servers", do the following:

        grpsum[“MySQL Servers”,”vfs.fs.size[/,total]”,”last”,”0”]
        Hi Mario

        yes I know that you have to set up key manually but... where? I mean, is like an normal item? We're going to a item of a any host and then what? Do I have to create a new item and then select Zabbix Aggregated? As you see, Im totally lost about this topic. The info on documentation is pretty short. :S

        Can you tell me where and how you have you Aggregated item?

        Thanks!

        Comment

        • MarioF
          Junior Member
          • Dec 2008
          • 10

          #5
          hope this helps

          hi ittec

          i have attached a screen print.
          place the grpsum info into the key area.
          i had to initially use the "numeric float" type and save it, then edit the item again and change it to "numeric integer"
          Attached Files

          Comment

          • ittec
            Member
            • Mar 2008
            • 73

            #6
            Aggregated

            Originally posted by MarioF
            hi ittec

            i have attached a screen print.
            place the grpsum info into the key area.
            i had to initially use the "numeric float" type and save it, then edit the item again and change it to "numeric integer"
            Aha, understood but one more question, where do you create this item? as a item of a any host? and then you save it? or you add this to a group (second option, below Save).

            Because I think that an item must be ever as item of a "host". So we'll create an item with the total value of something but actually is a item of a single host.

            Thanks

            Comment

            • MarioF
              Junior Member
              • Dec 2008
              • 10

              #7
              zabbix aggregate

              Yeah, you save it as an item within one host of your group. Its a bit annoying as you have to remember to look at one particular server to get information about the group.

              Saying that, it is possible to create the grp check for each server but this is not ideal for obvious reasons.

              to be honest, I'm not sure what that group function at the bottom does.

              Comment

              • ittec
                Member
                • Mar 2008
                • 73

                #8
                Aggregated

                Hi

                thanks Mario, I wil test it once again.

                Comment

                • js1
                  Member
                  • Apr 2009
                  • 66

                  #9
                  Do aggregate checks only work for items checked by the Zabbix agent? Or, can I create an aggregate check on an external check?

                  Comment

                  Working...