Ad Widget

Collapse

Populate an item from other host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diegodias
    Junior Member
    • Oct 2010
    • 9

    #1

    Populate an item from other host

    I have the following problem:

    - One 'X' host have the information of 'N' other hosts

    - The 'N' hosts have an item that must be populated by the 'X' host.

    - These 'N' hosts can change from 'X' hosts

    - 'X' can internally know the 'N' hosts, but 'N' doesnt know 'X'

    Is there any way to do this?

    I know that I can make a script on zabbix server and call this script on the 'N' hosts items, so that this script logs into the 'X' hosts and retrieve the information, but I dont want to do this.

    I would like to have an item on the 'X' host that retrieve a map with (host'N' name, value) and insert the value into host'N' item.
    Last edited by diegodias; 03-11-2010, 16:02.
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Hi,

    I had a problem close to yours : I wanted to collect some performance data on virtual machines that were available only on host server, not inside guest VMs.

    The only solution I have found is to use an external script that does a zabbix_get.

    Obviously, this is not the answer you are waiting for but I'm afraid there is no simpler solution.
    If somebody else has a better solution, I'll be happy to hear about it

    Regards,
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • MrKen
      Senior Member
      • Oct 2008
      • 652

      #3
      All those X's and N's are a bit confusing, so maybe this is not what you're looking for.

      I have one host that receives data once daily via zabbix_sender.
      Let's call this host RawData, which has a key of RawValue.

      With this RawData:RawValue I use calculated items to feed 3 other Hosts/Items.

      HostDaily has a calculated item Formula: last("RawData:RawValue")

      HostPrevious has a calculated item Formula: prev("RawData:RawValue")

      HostMonthly has a calculated item Formula: avg("RawData:RawValue",#30)

      Not sure if this helps, but calculated items are great!

      MrKen
      Disclaimer: All of the above is pure speculation.

      Comment

      • diegodias
        Junior Member
        • Oct 2010
        • 9

        #4
        Thats not really what I am looking for ...

        The problem with calculated items is that I don't know on which host is the information I want.

        So .. I would need something like an item that sends the information to another item

        Comment

        • diegodias
          Junior Member
          • Oct 2010
          • 9

          #5
          I managed to solve my problem...

          I used zabbix_sender on the 'X' host and populated the items of 'N' hosts

          It worked fine!

          Comment

          Working...