Commit 5addab53 by Rinat K. Nugaev

Added hostmetadata to the config file

parent a764d03d
...@@ -63,6 +63,7 @@ LogFile=${env:ProgramFiles}\Zabbix\log\zabbix_agentd.log ...@@ -63,6 +63,7 @@ LogFile=${env:ProgramFiles}\Zabbix\log\zabbix_agentd.log
Server=monitoring.nugaev.net Server=monitoring.nugaev.net
ServerActive=monitoring.nugaev.net ServerActive=monitoring.nugaev.net
Hostname=$HostnameFull Hostname=$HostnameFull
HostMetadataItem=system.uname
" "
#Adding content to the config file #Adding content to the config file
Add-Content -Value "$confcont" -Path $ZabbixConf Add-Content -Value "$confcont" -Path $ZabbixConf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment