среда, 19 июля 2017 г.

Zabbix active agents auto-registration



edit zabbix-agent.conf

  • ServerActive=ZabbixServerIP

  • HostnameItem=system.hostname
  • #to use system's hostname 
  • or
  • Hostname=ENTERHOSTNAME
  • #to use specific hostname


  • HostMetadata=windows 
  • or
  • HostMetadata=linux


  • Timeout=30
  • #use for possible long autodiscovery items (for example AWS Cloudwatch)


Add actions in zabbix. 


Linux host autoregistration

Host metadata like Linux
Add host
Add to host groups: Discovered hosts, Linux servers
Link to templates: Template_Linux_Active


Windows host autoregistration

Host metadata like windows

Add host
Add to host groups: Discovered hosts, Windows servers
Link to templates: Template_OS_Windows_Active



Комментариев нет:

Отправить комментарий

Bash: MySql backup (file per db), restore+ users and privileges

Backup Mysql DB (file per db) #!/bin/bash USER="root" databases=`mysql -u $USER -e "SHOW DATABASES;" | tr -d "|...