Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18529

FQDN hostname autoregistration

    XMLWordPrintable

Details

    • Incident report
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 5.0.4
    • None
    • Agent2 plugin (N)
    • None
    • Windows

    Description

      Hello guys

      Actually i'm trying doing an autoregistration for our park, we work only with windows serveur so i'm trying to do an autoregistration i'm using this configuration 

      Server=10...111
      ServerActive=10...111

      HostnameItem=system.run[powershell -noprofile -noninteractive -command "& gcim win32_computersystem -Property dnshostname,domain | foreach \{ ($_.DNSHostname + '.' + $_.Domain).ToLower() }"]

       

      and when i'm launching it i'm getting this error 

      2020/10/21 10:33:56.502272 cannot process configuration: cannot get system hostname using "HostnameItem=system.run[powershell -noprofile -noninteractive -command "& gcim win32_computersystem -Property dnshostname,domain | foreach \{ ($_.DNSHostname + '.' + $_.Domain).ToLower() }"]" item specified by "HostnameItem" configuration parameter: Invalid item key format.

       

      Attachments

        Activity

          People

            agavrilovs Aleksandrs Petrovs-Gavrilovs
            Namoussi Namoussi Yayaoui
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: