업무/sys
Zabbix Hostname to Visible name auto registration
sysops
2018. 11. 5. 15:42
728x90
zabbix visible name에 Hostname 자동으로 넣기
git clone https://github.com/q1x/zabbix-gnomes.git zabbix-gnomes
# Update the visible name of the host web001 to 'primary webserver'
vi $HOME/.zbx.conf
[Zabbix API]
username=johndoe
password=verysecretpassword
api=https://zabbix.mycompany.com/path/to/zabbix/frontend/
no_verify=true
./zhostupdater.py web001 -V 'primary webserver'
참고 : https://github.com/q1x/zabbix-gnomes
728x90