Ad Widget

Collapse

auto assign Windows template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rbri
    Junior Member
    • Dec 2022
    • 1

    #1

    auto assign Windows template

    We setup a auto discovery rule to discover servers on several subnets. The rule works as expected however after the discovery ran it found all the devices but did not assign any templates to our Linux or Windows servers. I added this
    " Zabbix agent "system.uname" " to the discovery rule and when the next interval all the LInux servers started to assign the " Linux by zabbix agent " to each server and all the Linux servers started reporting back to zabbix. I have tried to research on what needs to be added so the rule will assign the " Windows by zabbix agent " to all our Windows machines. What do i need to add to auto assign the windows template to each windows host config file? Any help will be greatly appreciated as I have been looking through zabbix documentation for a few days now. Thanks in advance for any help.
  • acevizci
    Junior Member
    • Feb 2023
    • 6

    #2
    hi,

    If you write a rule like below it will work. The important point here is to use agent conf to differentiate between Windows and Linux machines. Use "host metadata" in it. For example. "HostMetadata=Linux" for Linux,

    good luck.



    Click image for larger version  Name:	image.png Views:	0 Size:	14.6 KB ID:	464357​​
    Attached Files

    Comment

    Working...