Im trying to auto register servers with the same name using their FQDN... for example i have 3 servers named SRV1 in 3 different domains.
I want zabbix to register them as SRV1.com, SRV1.local, SRV1.net
im only able to register the servers name and not the fqdn. using the forums resources yielded no success..
here is from the conf file:
using this the service doesnt even comp up
any suggestions would be amazing.
I want zabbix to register them as SRV1.com, SRV1.local, SRV1.net
im only able to register the servers name and not the fqdn. using the forums resources yielded no success..
here is from the conf file:
Code:
### Option: AllowKey # Allow execution of item keys matching pattern. # Multiple keys matching rules may be defined in combination with DenyKey. # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments. # Parameters are processed one by one according their appearance order. # If no AllowKey or DenyKey rules defined, all keys are allowed. # # Mandatory: no AllowKey=system.run[*] ### 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 $env:COMPUTERNAME + '.' + (Get-CimInstance Win32_ComputerSystem).Domain"]
any suggestions would be amazing.
Comment