Ad Widget

Collapse

Calculated Item Question - Ignoring hosts in maintenance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LukeAB93UK
    Member
    Zabbix Certified Specialist
    • Jun 2023
    • 72

    #1

    Calculated Item Question - Ignoring hosts in maintenance

    Hello,

    I have a question I hope someone can answer.

    I have a calculated item like this with a 100 customer multiplier on it

    Code:
    avg(last_foreach(/*/icmpping[,,,,4000]?[group="MyGroup"],5m))
    It works out the uptime percentage based on the ICMP Ping item on the hosts in the group. It works great.

    But... I would like to exclude any hosts in "MyGroup" that are in maintenance. So essentially I do not want it to take into account any in maintenance hosts into the calculated item. Is this possible?

    Regards
  • LukeAB93UK
    Member
    Zabbix Certified Specialist
    • Jun 2023
    • 72

    #2
    Hello,

    I am still wondering if there is a way to do this, exclude maintenance hosts when calculating averages.

    Kind Regards

    Comment

    Working...