Ad Widget

Collapse

Apply a item to a hostgroup and getting used percentages off all drives

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Molusco
    Junior Member
    • Dec 2019
    • 20

    #1

    Apply a item to a hostgroup and getting used percentages off all drives

    Hi, Im new to the front end of Zabbix, I have created a template added one item, how can apply that item to an entire hostgroup?

    another question, I want to get the used percentage of all drives on all host in a hostgroup, in the item key I have used this:
    vfs.fs.size[fs,pused], will this get me all the used percentage of all drives? for example C, D, E drive if the host use windows, and /, /home, if the host uses linux?
    thanks!
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    I've never tried to apply a template to an entire host group. I think the way you would probably do it is go into "Hosts", select the host group from the dropdown, select all the hosts using the checkbox in the header field, next to Name, and then click "Mass Update".

    vfs.fs.size[fs,pused] reports the % used for the single volume named "fs", not for all volumes. If you have a lot of variability in how your hosts are configured (some hosts have many drives/mountpoints, some hosts have very few) then you're probably going to need to investigate auto-discovery, https://www.zabbix.com/documentation...evel_discovery.

    If there's a lot of uniformity to your hosts and you know which hosts have "exceptional" volumes, you could do it all through static templates, just applying the correct template(s) to each host. Low-level discovery is more robust, but it's also more complicated to get started with.

    Comment

    Working...