Ad Widget

Collapse

Automatic assignment on exisiting hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SanMonitor
    Member
    • Aug 2022
    • 48

    #1

    Automatic assignment on exisiting hosts

    Hello,

    we've been using Zabbix for a while now (6.0.5) and are still looking for ways to automate management.

    What I would like to have is some discovery rule that for example discovers an SQL service and would then automatically assign this host to our SQL Template.
    My idea was to create a discovery rule for this and then link this to a discovery action.

    The problem is, since our hosts already exist and all services already discovery by our Windows Template, my discovery rule won't detect anything.
    Is there a way to run this discovery rule on already exisiting hosts and already discovered items without having to wipe all of our hosts, maybe I'm missing something.


    Thanks in advance!

  • MaterazziSan
    Junior Member
    • Feb 2023
    • 18

    #2
    Hi,

    I do not know for already registered hosts, but for new ones, you can use host metadata to assign windows and SQL templates https://www.zabbix.com/documentation...-host-metadata

    Best regards

    Comment

    • SanMonitor
      Member
      • Aug 2022
      • 48

      #3
      Originally posted by MaterazziSan
      Hi,

      I do not know for already registered hosts, but for new ones, you can use host metadata to assign windows and SQL templates https://www.zabbix.com/documentation...-host-metadata

      Best regards
      Hey MaterazziSan, thanks for commenting
      I am aware of this function, unfortunately our host names don't contain any reference to whether it's an SQL server or not.
      And since we're dealing with close to 300 servers I don't feel like manually changing the config file for each SQL server, so I'd need a metadata item that checks if SQL is installed or not and at the moment I don't know how I'd need to configure that item.

      Comment

      Working...