repos

quickguides/zabbix/README_nutshell.md at main · spawnmarvel/quickguides · GitHub

Install (all on one host)

quickguides/zabbix/host_1/README.md at main · spawnmarvel/quickguides · GitHub

Open NSG 22, 80.

First apache

http://ip

Then Zabbix

http://ip/zabbix

add user, pass etc

Trigger dependency

zabbix_sender -z 192.168.3.5 -s "VM28" -k interface1 -o 10

zabbix_sender -z 192.168.3.5 -s "VM28" -k interface2 -o 10

zabbix_sender -z 192.168.3.5 -s "VM28" -k interface2 -o 10

zabbix_sender -z 192.168.3.5 -s "VM28" -k interface2 -o 10

Alerts

Make alert i.e send v = 5

Trigger dependency

Restore back to non alert state and create a third alert with the AND operator and add a dependency to the intreface1 and 2.

Dependency

Make alarm

zabbix_sender -z 192.168.3.5 -s "VM28" -k interface1 -o 8

zabbix_sender -z 192.168.3.5 -s "VM28" -k interface2 -o 8

Make a no heartbeat alert

logic

After 3 min

Scenario A:

interface1 is ok, but not interface2 after both was down.

zabbix_sender -z 192.168.3.5 -s "VM28" -k interface1 -o 10
zabbix_sender -z 192.168.3.5 -s "VM28" -k interface1 -o 11
zabbix_sender -z 192.168.3.5 -s "VM28" -k interface1 -o 0
zabbix_sender -z 192.168.3.5 -s "VM28" -k interface1 -o 0

Template Windows by Zabbix Agent

Windows agent passive

Windows agent active

Tuning