Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 696 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 696 Bytes

zabbix-maintenance

A tool to move a host to Zabbix maintenance mode for the next n minutes.

I built this as a quick fix because I don't understand zabbix-cli yet.

usage: zabbix_maintenance.py [-h] [--url URL] [--user USER] [--password PASSWORD] minutes

Sets the host into Zabbix maintenance mode. Config of zabbix-cli is used if user, password or URL are undefined.

positional arguments:
  minutes              Length of the maintenance window

optional arguments:
  -h, --help           show this help message and exit
  --url URL            Zabbix API URL
  --user USER          API user name
  --password PASSWORD  API password