Hi there,
We have a powershell script which turns OFF and ON VMs (Azure automation runbook) according some different schedules, and we need to disable/enable Zabbix monitoring for a host before it gets shut down and enable once script turns it on. The script gets VMs as variables.
What we need - a shell/linux script to which we provide host name and it disables Zabbix monitoring. The script will be placed and run on Zabbix server. It will be called by automation account (runbook) through powershell and can not be done via API, as there is no access. We would work via Azure VMs extension - calling bash file from through powershell script and providing VM (host) name.
Zabbix server database is MySql.
i.e. ./SetVMStatus.sh -hostname "TestVM"
thank you.
We have a powershell script which turns OFF and ON VMs (Azure automation runbook) according some different schedules, and we need to disable/enable Zabbix monitoring for a host before it gets shut down and enable once script turns it on. The script gets VMs as variables.
What we need - a shell/linux script to which we provide host name and it disables Zabbix monitoring. The script will be placed and run on Zabbix server. It will be called by automation account (runbook) through powershell and can not be done via API, as there is no access. We would work via Azure VMs extension - calling bash file from through powershell script and providing VM (host) name.
Zabbix server database is MySql.
i.e. ./SetVMStatus.sh -hostname "TestVM"
thank you.
Comment