Sorry, I didn't get notification emails from BitBucket until now.
In monit, you can set group membership to the services, e.g.:
check process mysql with pidfile /opt/mysql/data/myserver.mydomain.pid
start program = "/etc/init.d/mysql start"
stop program = "/etc/init.d/mysql stop"
if failed host 192.168.1.1 port 3306 protocol mysql then restart
depends on mysql_bin
depends on mysql_rc
I'd like to see "group" information(s) in the XML, e.g.:
This would be useful as you could use groups to indicate criticality level of the monitored target. Fe.x group critical, group warning, etc.
Also adding the group info as an env variable for the m/monit notifications scripts would be helpful as you could forward the group info to your notification integration script