Creating maintenance periods as a Zabbix User
We've noticed that it is not possible to schedule maintenance periods as a Zabbix User. For some companies, this may be a requirement, so I created an extension for it. In this recipe, I will show you just how to work with this Python script.
Getting ready
For this recipe, all we are going to need is our Zabbix server, some knowledge of Python, and some knowledge of the Zabbix API.
How to do it
- If you haven't already created an API user then we are going to need a new user for API calls, but to do that we need a user group first. Click the blue Create user group button.
- Now let's create the following User group:
- Now, let's click on Permissions to fill out some more information before saving.
- Click on the white Select button and select all the user groups available in your Zabbix server...