lukecyca / pyzabbix

Python Zabbix API
969 stars 314 forks source link

Alert script helper #58

Closed gregswift closed 8 years ago

gregswift commented 9 years ago

Would you be open to a subclass being proposed with the intent of providing some wrapper functions for devs writing alert scripts? I realize the below don't match perfectly, but would be kewl if there was some commonality.

Things like: https://github.com/PagerDuty/pdagent-integrations/blob/master/bin/pd-zabbix#L44-L54 https://github.com/gregswift/zabbix-alertscript-maintenance/blob/master/scripts/zabbix-maintenance-mode#L18-L19 https://github.com/gregswift/zabbix-alertscript-maintenance/blob/master/scripts/zabbix-maintenance-mode#L21-L28

lukecyca commented 9 years ago

Yeah, if you can come up with something that is generally useful then that would be a great addition!

neothematrix commented 9 years ago

hi, how should we proceed with this? @gregswift do you intend to write this wrapper and request a pull?

gregswift commented 9 years ago

let me talk with our main engineer on the zabbix coding bits. I do think that we'll get something written.

neothematrix commented 8 years ago

@gregswift, I'm cleaning up here, feel free to reopen the issue whenever you have more info!

gregswift commented 8 years ago

ya, sorry for the delay and bring iit back into my view. Will still probably be a bit.