Ad Widget

Collapse

A trigger for the same item in different hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leonlaf
    Junior Member
    • May 2013
    • 15

    #1

    A trigger for the same item in different hosts

    I am trying to monitor the health of a hadoop hostgorup, I have the same item on every host like: proc.num[,,,datanode], it will return 1 if datanode service is running. We have 150 nodes, so I don't care if one service goes down on one host, what I care is more than 10% go down. As far as I know:

    1. I can use calculate item to sum the return values, then create a trigger. But I need to write 150 items to 1 calculate item, and I need to modify this calculate item if we add/decommission some nodes.

    My question is can I have a item for a host group?

    2. Create a virtual host and create calculate item for each host like: last("hostname:item"). return 1 or 0

    Can I count the return value of all the checks? Or can I have a trigger for all item in this virtual host?

    Those are my ideas, feel free to tell me if you have a better way to do it! Many thanks!!!!!!
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Host configuration -> Item type -> Aggregate checks
    Sincerely yours,
    Aleksey

    Comment

    • leonlaf
      Junior Member
      • May 2013
      • 15

      #3
      Originally posted by aib
      Host configuration -> Item type -> Aggregate checks
      Thank you so much for your quick reply! Cannot believe I missed this guys, having a look now

      Comment

      • aib
        Senior Member
        • Jan 2014
        • 1615

        #4
        Good luck!
        Sincerely yours,
        Aleksey

        Comment

        Working...