Windows Agent Configuration - Hostname as FQDN: Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „ ### Option: HostnameItem # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined. # Does not support UserParameters or aliase…“)
 
 
(Eine dazwischenliegende Version des gleichen Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
### Option: Hostname
 +
# Unique, case sensitive hostname.
 +
# Required for active checks and must match hostname as configured on the server.
 +
# Value is acquired from HostnameItem if undefined.
 +
#
 +
# Mandatory: no
 +
# Default:
 +
# Hostname=
 +
 
  ### Option: HostnameItem
 
  ### Option: HostnameItem
 
  # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
 
  # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
Zeile 11: Zeile 20:
  
  
[[Kategorie:Zabbix]
+
[[Kategorie:Zabbix]]

Aktuelle Version vom 15. Februar 2018, 15:04 Uhr

### Option: Hostname
#	Unique, case sensitive hostname.
#	Required for active checks and must match hostname as configured on the server.
#	Value is acquired from HostnameItem if undefined.
#
# Mandatory: no
# Default:
# Hostname=

### Option: HostnameItem
#	Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
#	Does not support UserParameters or aliases.
#
# Mandatory: no
# Default:
HostnameItem=system.run[powershell.exe -command "([System.Net.Dns]::GetHostByName(($env:ComputerName))).HostName.ToLower()"]