Hi, I'm interested in adding webhook support for Rackspace Monitoring to iris. I was curious if a more generic approach to a webhook class would be welcome. Mainly writing a webhook class called "uuid" that allows the configuration of multiple webhook endpoints using the same class. The configuration would allow you to map certain fields from the webhook to fields needed to complete the API request. I'd need to experiment more to see if this would really work in practice, but was curious on thoughts here.
Alternatively, I could just write the more straightforward Rackspace only webhook class which I'll probably start with just to get things working.
root@ip-172-31-20-230:~# curl localhost:16649 curl: (7) Failed to connect to localhost port 16649: Connection refused
I also can only see a NGINX process listening on port 80 - is this correct?
root@ip-172-31-20-230:~# ps -ef |grep nginx root 1187 1 0 08:37 ? 00:00:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on; www-data 1190 1187 0 08:37 ? 00:00:00 nginx: worker process root 11208 1672 0 08:39 pts/0 00:00:00 grep --color=auto nginx root@ip-172-31-20-230:~# ps -ef |grep iris root 11210 1672 0 08:39 pts/0 00:00:00 grep --color=auto iris root@ip-172-31-20-230:~#
Not sure what I should see running :)
The main thing is probly new messenger needs to be added
Iris messenger supports email sms slack etc, so if you made a new messenger type that did the smtp mail service it would need to be added