Ad Widget

Collapse

Is it possible to create Maintenance period automatically by mail?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanjariga
    Junior Member
    • Feb 2020
    • 1

    #1

    Is it possible to create Maintenance period automatically by mail?

    Hello there,
    I have small question regarding maintenance creation on Zabbix side. Due to I would like to create automation of Maintenance creation on Zabbix side, I would like to ask if it is possible to create Maintenance period on Zabbix side using macro which will be triggered by e-mail sent through ticketing system.
    Thank you in advance
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    In theory, yes.

    You can create maintenance periods via the Zabbix API. If you have a way to process your email and run a script/program based on email contents (i.e. an email filter, run via something like procmail on Linux or Unix), you could create a program that uses the API to create the maintenance, based on parsing the contents of an email and looking for the necessary information to determine host(s), start time, and duration.

    This only works if you have a way to filter your email that can exec an external program.

    Comment

    Working...